Find Modified Files by Days in UNIX & Linux

1. To find modified files in directory /home in the last 1 days.

# find /home -mtime -1 -print
/home/startdb.log

2.To find modified files in directory /home more than 1 days ago.

# find /home -mtime +1 -print
/home/Documents/.directory
/home/startdb.log
/home/.exrc
/home/.bashrc

You May Also Like

Leave a Reply?