Re: SCP problem -

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




Am 24.11.2012 22:01, schrieb Bob Goodwin - Zuni:
> On 24/11/12 15:42, Matthew Miller wrote:
>> On Sat, Nov 24, 2012 at 09:29:08PM +0100, Reindl Harald wrote:
>>> if would use rsync instead of scp for many reasons
>>> rsync -ztPrlHpogEAX  bobg@box8:/home/bobg/ /run/media/bobg/Simple/Box8BkU/
>>
>> +1 to using rsync. Although, instead of that alphabet soup, I would just use
>> "rsync -avP" adding H and X if necesary for hardlinks and xattrs only if
>> there's anything special in your source. The "a" stands for "archive" and
>> includes most everything else. "v" is for verbose. And "P" does two things:
>> prints status updates, and transfers files in a way that can be continued
>> automatically if you stop and restart.
>>
> 
>    Ok, I cleared all the files from the previous effort and restarted
>    it with rsync which seems to be running happily. I will report the
>    results.

one of the big benefits of rsync is that you do not need to
delete anything on the destination - the opposite: if you stop
for whatever reason you can restart rsync as often needed and
finally oyu have a 1:1 copy of the source

the --delete-after param should be suggested to

this is to get rid of files no longer on the source
i prefrer the "after" because on large lists it is
easier to see at the end waht has been removed

in the meantime i use rsync even on local filesystems
and single files because i prefer use one tool everywhere
for the same operation and love the copy of attributes

--delete-during maybe the better option if the target
has limited space



Attachment: signature.asc
Description: OpenPGP digital signature

-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux