Last active
January 25, 2024 14:43
-
-
Save AlekseyArh/f35373e1856d3e96ac3635276d5d5b31 to your computer and use it in GitHub Desktop.
Удалить файлы старше 5 дней | Удалить файлы старше 30 минут
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo find /mnt/files/ -type f -mtime +5 -delete | |
sudo find /mnt/files/ -type f -mmin +30 -delete |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment