Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
removing files / match criteria
Name: H3001 Date: June 24, 2007 at 04:18:38 Pacific OS: AIX5.2 CPU/Ram: PowerPC/1024 Product: IBM-44p
Comment:
Hi all, I'm spendind hours trying to figure out how a script could remove files that are older than 30 days, matching some criteria in their names, in a specific volume and within different user folders. I'm thinking if calling all the user folders with a name starting with "RC-user..", so the removal script could skip the files and folders staring with this naming convention. Any help is more than welcome ! Cheers, H.
Summary: The command itself looks fine, but you should leave out the backquotes: find /omcgen/metrica/DRI/templog -mtime +30 -exec rm {} \; (all on one line) This will search for all files in the directory /om...
Summary: hello, i wanted to move those file that has a string like " I am yello" so any file that has this string i wanted to move that file somewhere else or remove that file. can someone help w/ easy scrip...