How to list the contents of the Trash under OS X
Kirk McElhearn
kirklists at wanadoo.fr
Wed Sep 1 13:34:30 EDT 2004
On 9/1/04 7:14 PM, "Howard Bornstein" <howard.bornstein at gmail.com> wrote:
> If I set the default folder to "/Users/myUserName/.Trash/" and get the
> files, it only lists items that have been moved to the trash from the
> startup disk. Any items moved to the trash from other mounted volumns
> don't show up.
>
> Anybody know why? Or a way around this problem?
Each volume has its own trash. On my Backup volume, for example, it is
located here:
/Volumes/Backup/.Trashes
Each user has a sub-folder, so my user's trash is here:
/Volumes/Backup/.Trashes/501
So, if you want to access the trash, you need to know the UID.
Kirk
My new e-book: Take Control of Users and Accounts in Panther
http://www.tidbits.com/takecontrol/panther/users.html
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . kirk at mcelhearn.com | http://www.mcelhearn.com . . . . . .
. . Kirk McElhearn | Chemin de la Lauze | 05600 Guillestre | France . .
More information about the use-livecode
mailing list