On Mon, Jul 13, 2020 at 7:51 PM Tim via users
<[email protected]> wrote:
> On Mon, 2020-07-13 at 16:37 +0200, Tom H wrote:
>>
>> The trailing slash only matters for the source directory.
>>
>> I think of the trailing slash for "cp" on *BSD (and macOS) and
>> "rsync" as meaning "/*"...
>
> Does it matter anywhere? I've always put one on the end of directory
> filepaths, just for my own clarity, unless something explicitly tells
> me not to. I can vaguely remember some info about not doing it
> somewhere in Apache configurations, but that's all.

It matters for rsync.

If you have /path/to/a/fed.txt

rsync -a /path/to/a /path/to/b
results in
/path/to/b/a/fed.txt

rsync -a /path/to/a/ /path/to/b
results in
/path/to/b/fed.txt
_______________________________________________
users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/[email protected]

Reply via email to