The UNIX and Linux Forums
>
Top Forums
>
UNIX for Dummies Questions & Answers
Find Command
User Name
Remember Me?
Password
Google UNIX.COM
Forums
Portal
Register
Forum Rules
FAQ
Contribute
Members List
Arcade
Search
Today's Posts
Mark Forums Read
Thread
:
Find Command
View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
#
5
(
permalink
)
01-31-2008
ynilesh
Registered User
Join Date: Oct 2007
Location: Bangalore, India.
Posts: 174
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