in reply to Re: Working with the log files
in thread Working with the log files
My problem is I need to create directory where the name of the directory should be name of the current directory it is reading files from. So I am stuck with how to do this. I know I could use mkdir but not sure how to get the dir name:
Directory structure: Main directory/sub directory/ folder 1 , folder 2... After reading the files from sub directory it should generate a output as sub directory/log.txt right now my script is creating only log.txt.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Working with the log files
by SuicideJunkie (Vicar) on Sep 20, 2010 at 20:28 UTC | |
by manu_06 (Novice) on Sep 20, 2010 at 21:38 UTC | |
by Anonymous Monk on Sep 21, 2010 at 13:36 UTC |