Last active
November 27, 2020 09:43
-
-
Save leonlaser/9ca34ee856fc750a4cd7055c7d5f5cca to your computer and use it in GitHub Desktop.
[Delete files older than 30 days] #shell #bash
This file contains hidden or 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
#/usr/bin/env bash | |
find ./ -type f -mtime +30 -exec rm -f {} + |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment