Find all files in this directory (.) modified in the last day (-mtime -1) that aren’t directories (\! -type d) and execute the list function on them ls -l:
find . -mtime -1 \! -type d -exec ls -l {} \;
I just tooks this from the page:
http://www.liamdelahunty.com/tips/linux_find_files_edited_today.php
Now I just need to update the script to filter out images.
Update: just update number of days back for mtime to go back any number of days.
RSS feed for comments on this post · TrackBack URI
Leave a reply