Home arrow Journal arrow Today Quick Tip: Find All Files That Were Modified Today
Today Quick Tip: Find All Files That Were Modified Today PDF
Thursday, 28 April 2011

In order to do that we use find command with -mtime parameter:

  find ./ -mtime 0

0 is for today, 1 is for yesterday and so on.

If we want to see all .jpg files that were modified today we could use:

  find ./ -name "*.jpg" -mtime 1

./ tells find to search in current directory and subdirectories. If we want to search in a different path just replace ./ with your own path.

 
< Prev   Next >

Other BSD Systems

OpenBSD

Misc

Solaris

Polls

Best BSD firewall?