The UNIX and Linux Forums
>
Top Forums
>
Shell Programming and Scripting
help with script
.
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
:
help with script
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
#
3
(
permalink
)
11-21-2007
Cameron
Registered User
Join Date: Nov 2001
Location: Brisbane, Australia
Posts: 500
How about using the find command ...
find /feeds/\*.dir -name \*$year$month$day\* type f -xdev -mtime +8 -exec rm -rf {} \;
find /first_value.dir/Download/validated.dir -name \*$year$month$day\* type f -xdev -mtime +8 -exec rm -rf {} \;
Or similar ?
Cameron
View Public Profile
Find all posts by Cameron
Find Cameron's past nominations received
Find Cameron's present nominations given