Re: rsync question -

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

 



On 15/11/13 12:53, Rick Stevens wrote:

No, you're not misunderstanding it. rsync looks at the source and
target and if there are differences, it copies from the source to the
target. In your case, you told rsync to copy everything inside the
/mnt/HOME1/bob/TBdBx07 directory (the source) to the
/home/bobg/.thunderbird directory (the target). If there are differences
between those two directories, rsync will try to make the target look
like the source as much as possible. Unless you add the "-u" option,
rsync will even overwrite files on the target that are "newer" than
those on the source.

The "-a" option to rsync tells it to try to do an archive (keep all
attributes, recurse down directories, etc.) and the "-z" means
"compress data during the transfer" (sorta silly when everything's on
the same LAN...it's more intended for WAN use). You probably wanted
"-avu --ignore-existing" to keep rsync from overwriting existing files
on the target (rsync will only copy over files that do NOT exist on the
target).

rsync is a very powerful tool, but as with all powerful tools, one
can easily injure oneself. Use adequate safety equipment and read the
manual! :-)

Ok that appears to have done what I wanted, at least it transferred a lot less data in very little time. I thank you for the clear explanation. I have trouble understanding the man pages but on a good day I do answer my own questions.

Thanks,

Bob

--
http://www.qrz.com/db/W2BOD
Box 10 Fedora-19/64 XFCE Linux

--
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
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