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.
Script remove file
Name: hoan0202 Date: May 10, 2006 at 12:59:09 Pacific OS: unix CPU/Ram: 2000 Product: 2000
Comment:
cd /export/home/ca7prod /export/home/ca7prod> ls -l rnc* -rw-rw-r-- 1 ca7prod ops 999 May 10 11:37 rnc -rw-rw-r-- 1 ca7prod ops 999 May 10 11:25 rnc.txt
I really need help how to write a script to delete or remove the ".txt" file. If anyone know please help. Thanks alot.
Summary: 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 folde...
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...