Page 1 of 1

Find all files that have been changed today

Posted: 21 Jun 2014, 16:37
by viking60
When searching for files it can help to get an overview over all files that have changed today (from midnight).
This will give you the info:

Code: Select all

find ~ -type f -mtime 0

0 means today
if you put a 1 in there you will get data that are 1 day old etc.
To remember it I made the changedtoday alias:

Code: Select all

alias changedtoday='find ~ -type f -mtime 0'

So whenever I write

Code: Select all

changedtoday
in a terminal I get the overview over all files that have changed today.