Created
March 2, 2021 06:11
-
-
Save rana01645/7d5efefad3ba5fdbb3100d1d1966fe0b to your computer and use it in GitHub Desktop.
delete 7 days older file from speicific folder linux
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 /home/forge/default/user/ -mindepth 1 -type f -mtime +7 | xargs rm |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment