Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google site




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #5 (permalink)  
Old 05-25-2007
cfajohnson's Avatar
cfajohnson cfajohnson is offline Forum Advisor  
Shell programmer, author
 

Join Date: Mar 2007
Location: Toronto, Canada
Posts: 2,557
Quote:
Originally Posted by vgs
Hi,

I have some files in a folder with different time stamps and
I want to display the files which are older than 1 hour.

i tried with find.

Folder? Do you mean directory?

If you have GNU (or FreeBSD) find:


Code:
find . -maxdepth 1 -type 5 -mmin +60