Created
January 4, 2016 10:31
-
-
Save CTimmerman/309ae68a3416b0a85eba to your computer and use it in GitHub Desktop.
Find recent file changes with Bash. Optional arguments: [path] [max age in minutes]
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/bash | |
sudo find ${1} -cmin -${2-1} 2>&1 |grep -v /proc/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment