12-29-2007
Try this
I don't know why it's hanging on you, but I don't think you've got the right combination of commands anyway. Possibly it's just taking forever...???
The z option makes it compress, which you don't want because you need these as raw files. You want the c option, which gives it its speed.
Try this one:
rsync -avc ./iWeb/website/
user@site.com:folder
Make sure you have that last '/' there. That's what I kept forgetting!
8 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi
Im trying to syncronise 4 webserver mirrors, using the rsync command. /www/html is the html documents directory.
i am using
export RSYNC_RSH="/usr/local/bin/ssh -l $REMOTE_USER"
rsyn -va /www/html remotehost:/www/html
when this is run, it copies the html file over to the remote... (3 Replies)
Discussion started by: thangorn
3 Replies
2. UNIX for Dummies Questions & Answers
Hi,
I've created a cron job for a script with a rsync command in it. The script is named pull.sh and contains the following line :
What it is supposed to do is pull backup files from the production server of my company to my local server. It should also generate the log file (output.log)... (1 Reply)
Discussion started by: anaigini45
1 Replies
3. Shell Programming and Scripting
Hello everybody
I'm triing since few days to do this. So sorry if my question looks stupide, but i've tried.
I have to get picture from a folder (who is updated automaticly and with subfolder) with theirs extensions (i'm ok on that) and this files have to me copied in a folder where a website... (7 Replies)
Discussion started by: boytruc
7 Replies
4. UNIX for Dummies Questions & Answers
Hello All,
I am looking at a fast way to script some backups. I am looking at using rsync to do the leg work. I am having a hard time conceiving a script though.
I have a tree with subfolders within subfolders. I was looking at the /xd option to parse the tree.
Directory of k:\
... (4 Replies)
Discussion started by: jvamos
4 Replies
5. Shell Programming and Scripting
Hi All,
I am trying to select 30 days older files under current directory ,but not from subdirectory using below command.
find <Dir> -type f -mtime + 30
This command selecting all the files from current directory and also from sub directory .
I read some documention through internet ,... (1 Reply)
Discussion started by: kommineni
1 Replies
6. Homework & Coursework Questions
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
1. The problem statement, all variables and given/known data:
Hi,
The problem statement is: I am trying to read line by line from a flat file by using a while loop. The... (9 Replies)
Discussion started by: Sandeep Pattnai
9 Replies
7. Shell Programming and Scripting
Hi ,
I have to use HP-unix OS to get difference between 2 files.while i tried a piece of code in other OS(linux/unix) as below, it worked fine & the output is desired one.
diff --suppress-common-lines -y file_1 file_2 >d.txt
The same doesn't works in HP -unix. Any help shall be... (6 Replies)
Discussion started by: vinil
6 Replies
8. Solaris
Hi,
We have 4 T5220 servers, which are currently connected to Hitachi SAN storage solution. This is old SAN, so we are going to decommission it. At this location, there is no other SAN and no other servers, which requires SAN solution. So we are thinking of a small and cheap storage solution,... (3 Replies)
Discussion started by: solaris_1977
3 Replies