//View Tip #199
» Directories and its size
» Find and Grep
» Duplicate directory tree
» Checksum directory recursively
Similar Tips
» Mass-renaming files» Directories and its size
» Find and Grep
» Duplicate directory tree
» Checksum directory recursively
Latest tips by RSS
Click here to subscribe
Follow Shell-Fu on Twitter
Click here to follow
Follow Shell-Fu on identi.ca
Click here to follow
When specifying time with find options such as -mmin (minutes) or -mtime (24 hour periods, starting from now), you can specify a number n to mean exactly n, -n to mean less than n, and +n to mean more than n. 2 For example:
find . -mtime -1 # find files modified within the past 24 hours find . -mtime 1 # find files modified between 24 and 48 hours ago find . -mtime +1 # find files modified more than 48 hours ago find . -mmin +5 -mmin -10 # find files modifed between 5 and 10 minutes ago
Comments
Add your comment
Comments are currently disabled
No Comments

