The UNIX and Linux Forums
>
Top Forums
>
Shell Programming and Scripting
delete files older than 5 minutes in directory (recursively)
.
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
:
delete files older than 5 minutes in directory (recursively)
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
#
3
(
permalink
)
06-13-2008
i.scientist
Registered User
Join Date: Jun 2008
Posts: 25
I created a file say file1
And I tried this
find /mydirectory -mmin +5 -exec ls -ltr {} \;
Could not locate it. So I think Your command works.
i.scientist
View Public Profile
Find all posts by i.scientist
Find i.scientist's past nominations received
Find i.scientist's present nominations given