Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Find files and directories in a partition...

Status
Not open for further replies.

md1750

MIS
Apr 18, 2001
80
US
What command should I use to find files and directories that have not been accessed say in one year on a partition.
 
md1750,

The best solution would probably be to use the touch and find commands.

Ex.

touch -t 200304080000 olddate

find /path/to/search ! -newer olddate -print

John
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top