LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 10-09-2006, 10:06 PM   #1
drkstr
Senior Member
 
Registered: Feb 2006
Location: Seattle, WA: USA
Distribution: Slackware 11.0
Posts: 1,191

Rep: Reputation: 45
reverse rsync


What is the best way to rsync file back to the server? I have been using 'scp' to send the files back but it copies all the files instead of transmitting the diffs like rsync does. Any recommendations?

Thanks!
...drkstr
 
Old 10-09-2006, 10:47 PM   #2
Sandman1
LQ Newbie
 
Registered: Jun 2005
Posts: 9

Rep: Reputation: 0
Rsync

Rsync

rsync -rz -e ssh user@server:/path /localpath

it works great
 
Old 10-09-2006, 11:56 PM   #3
drkstr
Senior Member
 
Registered: Feb 2006
Location: Seattle, WA: USA
Distribution: Slackware 11.0
Posts: 1,191

Original Poster
Rep: Reputation: 45
Cool thanks!

I was told (incorrectly it appears) that rsync only works one way. Never belive anything you're told until you read the man page first

I didn't know you could do so many cool things with rsync. All you have to do is 'rsync <opts> <source> <destination>' even works on syncing two local directories.

Thanks again for the help!
...drkstr
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Reverse compile? Pena Programming 37 06-19-2006 10:49 AM
C# reverse output? itz2000 Programming 2 05-17-2006 10:31 AM
Windows Rsync Upload to Linux Rsync - permissions inspleak Linux - Software 0 10-12-2004 02:49 PM
Samba in reverse.... AudioMechanic Linux - Networking 3 09-09-2004 06:38 AM
The reverse zone?? eXor Linux - Networking 1 10-15-2002 08:57 PM


All times are GMT -5. The time now is 03:46 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration