By William R. Wilson (Original work) [GFDL (http://www.gnu.org/copyleft/fdl.html) or CC-BY-SA-3.0 (http://creativecommons.org/licenses/by-sa/3.0/)], via Wikimedia Commons

Find Files

To look for files older than a day:

find . -mtime +1

To find files NOT older than a day:

find . -mtime -1

“.” -> this folder and its sub folders
“-mtime” -> modification date
“+/-” -> older or newer
“1” -> number of days

Facebooktwittergoogle_plusredditpinterestlinkedintumblrmailFacebooktwittergoogle_plusredditpinterestlinkedintumblrmail

Flattr this!

Leave a Reply

Your email address will not be published. Required fields are marked *