![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Need help with complicated script (reading directories, extracting data) | Gill Bates | Shell Programming and Scripting | 3 | 02-20-2007 07:05 PM |
| Clean File | kris01752 | UNIX for Advanced & Expert Users | 5 | 09-28-2006 11:40 AM |
| Clean Text File | kris01752 | UNIX for Advanced & Expert Users | 1 | 08-24-2006 03:48 PM |
| Clean file in single action | djp | Shell Programming and Scripting | 1 | 06-19-2006 06:34 PM |
| Reading file names from a file and executing the relative file from shell script | anushilrai | Shell Programming and Scripting | 4 | 03-10-2006 05:25 AM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Clean directories by reading from file
I have a file in following format
directory1=/out/log purgedays1=4 extn1=log,out,txt directory2=/clean/log purgedays2=4 extn2=log,out now i need need to create a script that reads this file and cleans all the files with the given extn from the given directory. The catch here is that number of entries in the extn field may vary. Please help!! |
| Bookmarks |
| Tags |
| awk, clean, directory, grep, grep in solaris |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|