The UNIX and Linux Forums
>
Top Forums
>
UNIX for Dummies Questions & Answers
Find Command
.
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
:
Find Command
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
#
5
(
permalink
)
02-01-2008
ynilesh
Registered User
Join Date: Oct 2007
Location: Bangalore, India.
Posts: 222
find . -mtime +2 -print
Period (.) is for current directory. This will print all logs more than 2 days old.
if you want to move those files to some other directory use mv command with -exec.
Hope this will help you.
ynilesh
View Public Profile
Visit ynilesh's homepage!
Find all posts by ynilesh
Find ynilesh's past nominations received
Find ynilesh's present nominations given