The UNIX and Linux Forums
>
Top Forums
>
Shell Programming and Scripting
Listing files older than 2 months
.
User Name
Remember Me?
Password
google unix.com
Forums
Register
Forum Rules
Links
Albums
FAQ
Members List
Calendar
Search
Today's Posts
Mark Forums Read
Thread
:
Listing files older than 2 months
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
#
4
(
permalink
)
01-17-2002
sharad_marathe
Registered User
Join Date: Jan 2002
Posts: 3
I will create one file with timestamp two months back and
search for newer files.
eg.
#touch -t 0112310000 /xyz
#find / -newer /xyz -print -exec ls -ls {} \;
Refer manual pages of touch and find for mor info
Hope it helps
Regards
Sharad
sharad_marathe
View Public Profile
Find all posts by sharad_marathe
Find sharad_marathe's past nominations received
Find sharad_marathe's present nominations given