On 08/30/2015 08:25 PM, Suvayu Ali wrote:
So it was seeing them as 100% different because... shit.
Interesting, I do not understand this behaviour either. Anyone care to
elaborate?
Simple ... RTFM ...
From the man page for rsync:
A trailing slash on the source changes this behavior to avoid
creating
an additional directory level at the destination. You can
think of a
trailing / on a source as meaning "copy the contents of this
directory"
as opposed to "copy the directory by name", but in both
cases the
attributes of the containing directory are transferred to the
contain‐
ing directory on the destination. In other words, each of the
follow‐
ing commands copies the files in the same way, including their
setting
of the attributes of /dest/foo:
rsync -av /src/foo /dest
rsync -av /src/foo/ /dest/foo
...
--
-- Derrik
Derrik Walker v2.0, RHCE
dwalker@xxxxxxxxx
"Those UNIX guys, they think weird!" -- John C. Dvorak
--
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