9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello ; ) again
Now I have my file like this :
I am looking for help to create a loop that will create the directory structure.
I need something like this :
If "DIR2" does not exist > Create
IF "DIR2" exist already > check if onther "DIR"... (5 Replies)
Discussion started by: Aswex
2. Shell Programming and Scripting
I am just trying print a directory structure but I am not getting the desired output.
I am using AIX.
input file contains : TNP\\ECOM\\test\\1
cat $input_file | while read line
done (3 Replies)
Discussion started by: rocker_me2002
3. Shell Programming and Scripting
I am new user of shell scripting has come up with a problem. that I have a directory structure like :
| ... (6 Replies)
Discussion started by: bhaskar_m
4. UNIX for Dummies Questions & Answers
I have a directory which has multiple directories and sub directories inside...
what command should i use to get a list of all these directories, without the filenames.... (2 Replies)
Discussion started by: saharookiedba
5. Shell Programming and Scripting
Hi I need to write a shell script which basically searches for all the empty files within the directory structure, lists them before asking the user to confirm if they would like to delete them. If the user deletes the file then a notice would appear confirming the file is deleted.
I've be... (5 Replies)
Discussion started by: cat123
6. Shell Programming and Scripting
I have writen the following code to show the dirctory structure. Can any body help me for using the recursive function in this code?
for i in `ls $HOME`
cd... (5 Replies)
Discussion started by: murtaza
7. UNIX for Advanced & Expert Users
I am trying to write a script that will move all the files from source directory structure(multiple levels might exist) to destination directory structure. If a sub folder is source doesnot exist in destination then I have to skip and goto next level. I also need to delete the files in... (4 Replies)
Discussion started by: srmadab
8. Shell Programming and Scripting
I'm a novice and I'd like to make a directory structure with a hundred or so folders. I've tried mkdir /foo/foo1/etc...
...but it appends '@' to each folder name and then fails on the subdirectories. Is it better to use a... (2 Replies)
Discussion started by: kamur
9. UNIX for Dummies Questions & Answers
Is it possible to copy a structure of a directory only.
I have a file with the following entries that is a result of a find :-
I want to copy these to a directory and keep the structure however starting at a new dir... (8 Replies)
Discussion started by: jhansrod