Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Click here to return to the 'Empty network trashes on Server via the Terminal' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Empty network trashes on Server via the Terminal
Authored by: seann on Feb 12, '04 02:56:32PM

Last night I wrote a script to clean up the 10.2 server I maintain.

find /Volumes/ -name ".DS_Store" -delete
find /Volumes/ -name "Desktop DB" -delete
find /Volumes/ -name "Desktop DF" -delete
find /Volumes/ -name ".Trashes" -delete
find /Volumes/ -name "Network Trash Folder" -delete
find /Volumes/ -name "TheFindBy*" -delete

and it runs every night.

[ Reply to This | # ]