-
-
Save dstarh/5dd791c24ddb0cdb54a8 to your computer and use it in GitHub Desktop.
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
/usr/bin/find /pgbackups/backups/ -mtime +4 -type d -name "nbackup_*" -exec /bin/rm {}/* \; -exec rmdir {} \; | |
/bin/rm: cannot remove `/pgbackups/backups/nbackup_foo2/*': No such file or directory | |
/bin/rm: cannot remove `/pgbackups/backups/nbackup_foo3/*': No such file or directory | |
/bin/rm: cannot remove `/pgbackups/backups/nbackup_foo1/*': No such file or directory |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment