Re: why does this rsync commands copy again the same files?

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

 




Am 22.11.2012 22:34, schrieb M. Fioretti:
> On Thu, Nov 22, 2012 22:10:04 PM +0100, Reindl Harald wrote:
> 
>>>>> rsync -rvt --delete --no-o --no-g /home/z/photo/ /media/Verbatim/photo
>>>>
>>>> this command has a error
>>>> the last aparm is missing a trailing slash
>>>
>>> Why would that be an error?
>>
>> because i had enough cases with rsync over different partitions
>> where the missing trailing slash resulted in copy the whole data to
>> the source partition and fill it up
> 
> omitting the trailing slash is the way explained by many tutorials and
> by the rsync documentation itself if what one wants to do is, as in my
> case, to copy the whole content of /home/z/photo/ inside
> /media/Verbatim/photo
> 
> IIRC, adding a trailing slash /media/Verbatim/photo/ would cause
> another "photo" folder to appear inside /media/Verbatim/photo/, which
> is not what I want

i am using rsync since many years in any environment
for backups, for sync folders, for sync TB's of data all over the world

adding a trailing slash /media/Verbatim/photo/ would cause
NEVER EVER another "photo" folder to appear inside /media/Verbatim/photo/


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