Skip to content

Instantly share code, notes, and snippets.

@CTimmerman
Created January 4, 2016 10:31
Show Gist options
  • Save CTimmerman/309ae68a3416b0a85eba to your computer and use it in GitHub Desktop.
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]
#!/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