Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- List files:
- find /var/www/html/root/Files/test_rm/*.pdf -mtime +1 -exec ls {} \;
- Remove files:
- find /var/www/html/root/Files/test_rm/*.pdf -mtime +1 -exec rm {} \;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement