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


Click here to return to the '10.4: Use Automator to remove older files from a folder' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.4: Use Automator to remove older files from a folder
Authored by: barrymiami on Sep 03, '07 08:30:47PM
Does anyone know if this can be used to delete older files from a REMOTE ftp server?

I tried:

find ftp://username:password@ftp.server.com/path/to/folder/* -type f -mtime +30 -exec rm -f {} \;

in Automator but it failed. I guess I could run a cron job to delete files older than say, 30 days, but it would be nice to have it integrated into my Automator app.

[ Reply to This | # ]