trash

How to move a symlink to the trash?

I don't see any options for the FSPathMoveObjectToTrashSync() function for not following links. Here is what I have tried Create a link and a file [ 21:32:41 /tmp ] $ touch my_file [ 21:32:45 /tmp ] $ ln -s my_file my_link [ 21:32:52 /tmp ] $ la total 8 drwxrwxrwt 12 root wheel 408 17 Maj 21:32 . drwxr-xr-x@ 6 root wheel...

Unable to migrate mails to "Trash"

Hi, I am migrating some mails to 'TRASH' in Google Apps. Using Google API Ver 2: Code Sample : MailItemEntry[] entries = new MailItemEntry[1]; entries[0] = new MailItemEntry(); entries[0].Rfc822Msg = new Rfc822MsgElement(msg); entries[0].MailItemProperties.Add(MailItemPropertyElement.TRASH); ...