10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hello gurus, quick question
I have a bunch of folders each having subfolders that have 3 files with the same name but different in content. So I want to copy the subfolders with only those 3 files to another location. Just making up some names here,
Folder1
SubfolderX1
SubfolderY1
... (1 Reply)
Discussion started by: ritakadm
1 Replies
2. Shell Programming and Scripting
Hi,
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.
Ex:
mainfolder1
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
7 Replies
3. Shell Programming and Scripting
Hi,
I have a folder which contains files in this format.
abc-bin.000001
abc-bin.000002
abc-bin.000003
abc-bin.000004
abc-bin.000005
abc-bin.000006
abc-bin.000007
abc-bin.000008
abc-bin.000009
abc-bin.000010
abc-bin.index
I want to copy all the files between
abc-bin.000004... (6 Replies)
Discussion started by: arijitsaha
6 Replies
4. Programming
Hi all,
I need a suggestion in the following case,
I have folder1, folder2 ,folder3 and file1 inside /home/test/source ..
I need to copy all the folders and files to another location /home/test/destination
Pls suggest any way to program this in C++.. :confused: (1 Reply)
Discussion started by: selvarajvs
1 Replies
5. UNIX for Dummies Questions & Answers
hi good day
I am using redhat linux.
Is there a better utility than the 'find' command to search for files
I am trying to search through and enitre directory such as /repos for a files that have 'UAP' in it. However there are some '.step' folders littered throughout the /repos folder at varying... (8 Replies)
Discussion started by: johnstrong
8 Replies
6. OS X (Apple)
Hello everyone,
I'm running Mac OS X Leopard (10.5.8) and I want to use the Terminal to help automate this tedious and laborious command for me:
I need to extract all of the .m4p files in my "iTunes Music" folder which reside in folders of the artist, and then subfolders for the albums and... (2 Replies)
Discussion started by: qcom
2 Replies
7. UNIX for Advanced & Expert Users
Hi
I want to copy the structure from one place to another.
-> cd /hol/;
-> find . -type d | cpio -pvdm /abc/cat;
while copying the structure I want to exclude some directories like test1 and Test.
I have read somewhere that this can be done with -prune option.
Could anyone... (2 Replies)
Discussion started by: soumodeep123
2 Replies
8. Shell Programming and Scripting
Hi All,
I am trying to rsync some of the latest files from remote m/c to my local linux box.
Folder structure in my remote m/c looks like this
/pub/Nightly/Package/ROLL/WIN
/pub/Nightly/Package/SOLL/sol
/pub/Nightly/Package/SOLL/linux
Each of the folder contains gzip files which on daily... (0 Replies)
Discussion started by: jhoomsharabi
0 Replies
9. UNIX for Dummies Questions & Answers
I am in a fix.......
I have to write a backup script to backup say Folder A.
Folder A contains n folders 1,2 ,3 .....n.
my script should copy A without folder 2 & 3.
Is there anyway I can do it without writing individual copy commands????
Please help.... (5 Replies)
Discussion started by: chimpu
5 Replies
10. UNIX Desktop Questions & Answers
Hi ,
I want to backup the root file system but the size of / is very huge so I want to exclude some file systems.Man page of tar says X option excludes files but I could not do that.I use this command
$ tar -cvf deneme.tar -X exc .
$ cat exc
sql
kkm
I think there... (2 Replies)
Discussion started by: kudret_gulcan
2 Replies