rsync command


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting rsync command
# 1  
Old 09-10-2010
rsync command

What does this "current" keyword mean in this rsync command?
Code:
rsync -auv /data/log/trace  remote_host::current/tmp

Of course remote_host is the remote server name. If I want to push files to a different server how could I make this better?

thanks.

Last edited by Yogesh Sawant; 12-07-2010 at 10:20 AM.. Reason: added code tags
# 2  
Old 09-10-2010
current/tmp is simply the destination folder, not any sort of flag.
# 3  
Old 09-10-2010
Quote:
Originally Posted by djehresmann
rsync -auv /data/log/trace remote_host::current/tmp
current/tmp can be replaced with /home/user, for example Smilie
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Help Needed for creating the folder by checking today's date and, take backup using rsync command

How to create a shell script to create a folder by using the today's date to take backup using rsync command on every evening around 7 pm. Kindly help. Thanks. To be more precise, I want to create a script which matches the today's date with server's date format, if matches then creates the... (2 Replies)
Discussion started by: bakula10
2 Replies

2. Shell Programming and Scripting

Rsync Error: rsync: link_stat failed: No such file or directory (2)

I wish to copy all the files & folder under /web/Transfer_Files/data/ on mymac1 (Linux) to remote server mybank.intra.com (Solaris 10) /tmp/ location I am using Ansible tool synchronize module which triggers the unix rsync command as below:rsync --delay-updates -F --compress --archive --rsh=ssh... (2 Replies)
Discussion started by: mohtashims
2 Replies

3. Shell Programming and Scripting

Rsync command

Hi all; Please, i need a scientific paper which contain the algorithm rsync, Have you any link please ? rsync Thanks a lot for help. Kind regards. (1 Reply)
Discussion started by: chercheur111
1 Replies

4. Shell Programming and Scripting

Nested case: rsync command not found

Hello! Below my first bash script. As you can see i build 2 nested cases. The second one (sync databases) is working fine. Bu the first one (sync datadirs) is not working. It says: rsync: command not found. However when i move the rsync command to the top of the script its working. So i suppose... (2 Replies)
Discussion started by: hyperconnected
2 Replies

5. Shell Programming and Scripting

Linux command rsync sending files incrementally

Please, i have a question about rsync command: Here is the command that i have used in my script: rsync -ratlz --rsh="/usr/bin/sshpass ssh -o StrictHostKeyChecking=no" -aAXHltzh --progress --numeric-ids --devices --rsync-path="rsync" $1 $hostname:$1 using this command, i can... (0 Replies)
Discussion started by: chercheur111
0 Replies

6. UNIX for Dummies Questions & Answers

Rsync Help?

Hi everyone, I'm pretty new to rsync and I've been tasked to "fix" an existing .sh to make it work the way I need it to. I have the following rsync set up on a cron job: /usr/local/bin/rsync --stats -qPzrtpl --delete --password-file=/var/run/.appprodrsync ... (2 Replies)
Discussion started by: Russell P
2 Replies

7. Red Hat

rsync command

Hi All, Could you please explain the usage of rsync command in linux.Thanks in Advance. (1 Reply)
Discussion started by: Sharath Kumar
1 Replies

8. SuSE

rsync

I'm trying to use rsync to sync some data from my windows laptop to my linux openSUSE home sytem using cwRsync. The process has always worked until I got a new laptop and more or less at the same time decided to rebuild my linux box. on linux rsync --version rsync version 3.0.7 protocol... (2 Replies)
Discussion started by: giessenw
2 Replies

9. UNIX for Dummies Questions & Answers

rsync

i last night i copied a 400GB folder using rsync and ssh i did: rsync -r /mnt/500_GB ssh miguel@192.168.1.3:/mnt/1500_GB and it copied the folder fine all 400GB. The question is: If i put more files to that initial 400GB folder, which command can i run on my server for it to update the... (4 Replies)
Discussion started by: supermiguel
4 Replies

10. Shell Programming and Scripting

copying links/files using rsync command

Hi I am using rsync command to copy the likes like bwlow rsync -vaR krish/harris/test data/charles I am running this script in test1 folder but the krish/harssis /test is existed in test2 folder. So when i run this command am getting the error like rsync: link_stat... (1 Reply)
Discussion started by: KiranKumarKarre
1 Replies
Login or Register to Ask a Question