10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
How do you compare one local folder and a remote folder and copy the difference to a third folder in a remote folder.e.g.
Folder A -- Is in a remote server and it has the following files
Folder B --Is in a local server and it has the following files
... (5 Replies)
Discussion started by: cumeh1624
2. Shell Programming and Scripting
Is there a way I can copy a file from a server to a local folder (i.e. My Documents)? can it be done by scp?
I tried this but it just rename the file as the folder it has to be transferred at.
scp -r name@some_server:/home/user/file.txt 'somehere\home\home_dir'
Thanks. (4 Replies)
Discussion started by: erin00
3. Shell Programming and Scripting
A similar question like this was asked before but I need to change part of the question.
I've two folders, Folder A contains some image files in 150 subfolders;
Folder B contains text files in 350 subfolders.
All image files in Folder A have the same filename as the text... (5 Replies)
Discussion started by: chlade
4. Shell Programming and Scripting
We would be migrating unix solaries to Linux redhat.
Basically source is unix and target is linux.
i would like to copy entire file system unix/source/* to target linux/souce/*
but target linux has only folder setup so what ever files copied need to be placed in the linux server with same... (8 Replies)
Discussion started by: balajikalai
5. Shell Programming and Scripting
I am coming to you with this basic question on copying a folder and its content from one location to another folder using PERL script.
This is my requirement.
I have a folder AB under /users/myhome
I want to copy AB and its contents to /user/workspace.
Finally it should... (1 Reply)
Discussion started by: amvarma77
6. UNIX and Linux Applications
One job in unix server will generate .csv files daily. I need to copy the latest of these .csv file from the unix server to the shared drive/folder in windows through unix script. My shared folder will look something like
W:\some folder(for example). Could any one of you please help... (3 Replies)
Discussion started by: jaya@123
7. UNIX for Advanced & Expert Users
I have a Centos server running a large website I own. Its is severely struggling under the load and I am having to move to a new load balanced setup.
The servers are both remote (to me) and although I can do most things admin wise in nix, I am struggling a bit to come up with a way... (1 Reply)
Discussion started by: anderow
8. Shell Programming and Scripting
*I use Uwin and Cygwin emulator.
I´m trying to search for all text files in the current folder (C/Files) and its sub folders using
find -depth -name "*.txt"
The above command worked for me, but now I would like to copy all found text files to a new folder (C/Files/Text) with ... (4 Replies)
Discussion started by: cgkmal
9. UNIX and Linux Applications
I am trying to copy a folder and all its contents from HP Unix box to RH linux, using the following.
rsync -avz -e "ssh" /users/www/webroot/docFiles/Division/Ctry email@example.com:/data/webroot/development/contentfiles/webroot/docFiles/Division/Ctry/QAfiles
And it throws a consistent... (2 Replies)
Discussion started by: FanTom
10. UNIX for Advanced & Expert Users
I'm trying to accomplish that if a file gets written to folder /path/to/a/ it gets automatically copied into /path/to/b/ the moment its get written.
I thought of writing a shell script and cron it that every X amount of minutes it copies these files over but this will not help me... (2 Replies)
Discussion started by: Bashar