![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts here. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Listing directories and sub directories | jinxor | UNIX for Advanced & Expert Users | 3 | 03-11-2008 06:27 AM |
| searching content of files in the current and sub directories | tiger99 | Shell Programming and Scripting | 4 | 01-22-2008 11:11 PM |
| Searching in VI | andyblaylock | UNIX for Dummies Questions & Answers | 1 | 11-28-2007 04:32 PM |
| moving directories to new directories on multiple servers | mackdaddy07 | Shell Programming and Scripting | 0 | 04-06-2007 08:30 AM |
| searching for list of empty directories | man80 | Shell Programming and Scripting | 4 | 10-15-2004 01:00 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
|||
|
Please help. I am getting back into UNIX and I need a script that requires me to start in one main directory (call it mydata) and under this directory searches several subdirectories within subdirectories. I need to search each directory to locate *_source and delete files within the directory (which is a parameter from the script, got that part) within the *_source directory. I keep messing up the syntax and I need it to run through without specifiing the directories (in case there is one added or several deleted in the course of time).
THANK YOU !!! MrJaunty Last edited by MrJaunty; 09-29-2004 at 08:07 PM. |
| Forum Sponsor | ||
|
|
|
|||
|
sorry - hope explaination here is better
Trying to locate what subdirectories of Mydata contain a directory *_source. Some subdirectories may contain more than one *_source directory. Once found, I would need to go into the *_souce directory looking for a directory (01-12, which was specified as a parameter when first ran the script) and then finally go into that 01-12 directory and remove all files in that directory only...
I hope I explained that better ... thank you for reply and help !!! |
|||
| Google The UNIX and Linux Forums |