10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I need to write a script the has to copy the files from folders and subfolders to the same folder structure located in another location.
file1,file2,file3 subfolder1(file1,etc) subfolder2(file1,etc) to another folder location of same folder structure.
rsync is not... (7 Replies)
Discussion started by: Raji Perumal
2. UNIX for Dummies Questions & Answers
I want to copy the dir/subdir structure from SERVER-A to SERVER-B without copying all the files in each dir.
Is it possible using SCP / SFTP command?
SERVER-A has following two dir/subdirectories and files under each subdir.
... (1 Reply)
Discussion started by: Hangman2
3. Shell Programming and Scripting
I am trying to figure out a way to script copying specific files from one dir structure to another.
I have a dir structure like this:
dira/author 1/book 1/file a.epub
/book 2/file b.epub
/author 2/book 1/file c.epub
/author 3/book 1/file d.epub
/book 2/file... (2 Replies)
Discussion started by: arcanas
4. UNIX for Dummies Questions & Answers
Hello. I need help with copying part of a file structure to another directory while still keeping the structure. For example look below:
So in this I would like to copy only the directories and... (3 Replies)
Discussion started by: the
5. Shell Programming and Scripting
I have three directory structures for code releases.
Each directory structure looks like this:
bash-3.00$ ls -R | more
srdp_ar_validation.pkb-1... (1 Reply)
Discussion started by: Glyn_Mo
I am trying to find out ways of comparing a value from a 'c' structure to a value in another 'C' structure. the 'C' structure can be a List or liked list as it contains lot many records.
if we loop it in both the structures it is going to consume time.
I am looking for a simple... (3 Replies)
Discussion started by: dhanamurthy
7. Shell Programming and Scripting
How can I solve this problem ?
I want to redirect with having the same directory structure as in my input.
for temp in `find ./CSV/ -name "*.v"`
fname = `basename $temp`
./script.sh $temp > ./out/$fname
But my problem here is all the... (3 Replies)
Discussion started by: user_prady
8. UNIX for Dummies Questions & Answers
I need to copy a set of directories along with all sub directories and files from one unix box to another. Any ideas?
cnfsed (4 Replies)
Discussion started by: Cnfsed
9. 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
10. 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