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. UNIX for Dummies Questions & Answers
Hello Unix Gurus Who I Hope Reads This,
I have quasi-inherited control over a Linux cluster at a university research lab. The post-doc that set it up is gone, and the person in charge of administering the cluster doesn't know a ton about Linux. Amongst other things, I want to use the cluster... (0 Replies)
Discussion started by: mbl
4. UNIX for Dummies Questions & Answers
I want to list all the last directories from mentioned base path.
for eg: If i have a base path say /base/base1/
How can i get the path till last node in tree like directory structure of unix by applying any command.
so that i will get following output.
... (7 Replies)
Discussion started by: Shiv@jad
5. 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
6. Shell Programming and Scripting
Has anyone tried to restrict Solaris 10 unix find on a large directory structure based on time to stop running after finding the first occurrence of a matching query. Basically I'm trying to build up a usage map of user workspaces based on file modification (week/month/3 months/year etc) and... (3 Replies)
Discussion started by: jm0221
7. 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
8. 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
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