> But emptying the trash will delete files on *other mounted volumes* as well, 
> not just the disk being examined.

rm -rf ~/.Trash/*

For volumes other than the startup volume it is a little more complicated:

rm -rf /Volumes/volume_name/.Trashes/uid/*

The Finder seems to notice when you do this and keeps in sync.

Looking in these folders will also allow you to give the user some idea of what 
he is about to permanently delete.

Paul Sanders.
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to