Red Bridge Internet is a San Francisco WordPress Consulting firm specializing in WordPress websites and WordPress Plugin Development. We're the ones you have been searching for.

Finding Files Edited Today on Linux

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.

No related posts.

Leave a Reply