Last active
July 6, 2017 18:19
-
-
Save screamingjungle/d3993ef978e06055dd58bedd9ba01219 to your computer and use it in GitHub Desktop.
RHEL: Find files that have not been accessed since
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
List: | |
find . -depth -type f -atime +7 | |
Sum: | |
find . -depth -type f -atime +7 -print0 | xargs -0 du -hc | tail -n1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment