Created
June 5, 2015 18:55
-
-
Save cfazendin/802b64976a1ef0819607 to your computer and use it in GitHub Desktop.
FreeNAS empty recycle bins of files > 7 days.
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
#!/bin/sh | |
find /mnt -path \*/.recycle/\* -atime +7 -delete |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment