[TriLUG] copying files
Joseph Mack NA3T
jmack at wm7d.net
Thu Jun 21 05:37:28 EDT 2012
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!
More information about the TriLUG
mailing list