Created
May 9, 2018 16:46
-
-
Save faridescate/5bfc1059866e188a8c5e20a82d8c26fc to your computer and use it in GitHub Desktop.
Borra archivos con antiguedad mayor a 20 dias
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
#!/bin/bash | |
/** Borra archivos con antiguedad mayor a 20 dias **/ | |
sudo find ./ -mindepth 1 -mtime +20 -delete |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment