[TriLUG] copying files

Robert Dale robdale at gmail.com
Thu Jun 21 07:32:55 EDT 2012


You don't need rsyncd.  But you do need some transport protocol. For
instance, with ssh:

rsync -az -e ssh user at server.com:/some/dir /to/here


On Thu, Jun 21, 2012 at 5:37 AM, Joseph Mack NA3T <jmack at wm7d.net> wrote:
> On Tue, 19 Jun 2012, Joseph Mack NA3T wrote:
>
>> On Tue, 19 Jun 2012, David Both wrote:
>>
>>> All I am doing is suggesting you try it. What do you have to lose?
>
>
> I thought rsync was more difficult to use than it is. In the section on "how
> it works"
>
> http://everythinglinux.org/rsync/
>
> you need an rsyncd running at the other end
>
> As it turns out it takes about 75 secs for rsync to sync up the two ends
> before it starts copying. cp -auv --parents or Jeff's cpio are faster. rsync
> is simpler to use, you don't have to find the files to copy first.
>
> Using the cp --parents or cpio method, if something goes wrong (eg I change
> the script and it doesn't work), I then run rsync to recover.
>
> Sean Korb's idea of doing both, ie selecting the new files then rsyncing
> them seems best. I know the directories that have just been copied, so I can
> run rsync on just them.
>
> I haven't tried parallel yet. It only seems to work on commands rather than
> bash subroutines.
>
> Thanks everyone
>
> Joe
> --
> Joseph Mack NA3T EME(B,D), FM05lw North Carolina
> jmack (at) wm7d (dot) net - azimuthal equidistant map
> generator at http://www.wm7d.net/azproj.shtml Homepage
> http://www.austintek.com/ It's GNU/Linux!
> --
> This message was sent to: Robert Dale <robdale at gmail.com>
> To unsubscribe, send a blank message to trilug-leave at trilug.org from that
> address.
> TriLUG mailing list : http://www.trilug.org/mailman/listinfo/trilug
> Unsubscribe or edit options on the web  :
> http://www.trilug.org/mailman/options/trilug/robdale%40gmail.com
> TriLUG FAQ          : http://www.trilug.org/wiki/Frequently_Asked_Questions



-- 
Robert Dale



More information about the TriLUG mailing list