Linux
find . -maxdepth 1 -name "*.aud" -mtime +3 -type f -exec rm -v {} \;
find . -maxdepth 1 -name "*.xml" -mtime +3 -type f -exec rm -v {} \;
HP-UX
find . -name "*.aud" -mtime +3 -type f -exec rm -rf {} \;
find . -name "*.xml" -mtime +3 -type f -exec rm -rf {} \;
No comments:
Post a Comment