This code does the trick on deleting files older than 10days But it doesn't delete the .zip files, any suggestions?

find /testftp/* -type f -mtime +1 -exec rm {} \;
link|improve this question

67% accept rate
1  
Does it work called by hand? can you paste ls -l /path/to/the.zip? – Michał Šrajer Jan 17 at 15:58
feedback

1 Answer

Check permissions on the zip files.

link|improve this answer
well...Permission seemed to be okay, I added the cronjob for root. – JoyIan Yee-Hernandez Jan 17 at 14:59
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.