[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: PR: dired-do-create-files now checks for trailing slashes in the tar
From: |
Stefan Kangas |
Subject: |
Re: PR: dired-do-create-files now checks for trailing slashes in the target |
Date: |
Thu, 30 Sep 2021 15:54:33 +0200 |
Den tors 30 sep. 2021 kl 08:06 skrev Lars Ingebrigtsen <larsi@gnus.org>:
> Isn't that just about the opposite of the syntax in rsync? That is,
> "rsync foo/ bar" will copy the files in foo over to bad, while "rsync
> foo bar" will copy the directory itself into bar. (Whether you have a
> slash or not at the end of the destination directory doesn't make a
> difference.)
Having a slash at the end of the destination directory *is*
significant with rsync:
$ touch foo
$ ls bar
ls: bar: No such file or directory
$ rsync foo bar/
$ ls -al bar
total 0
drwxr-xr-x 3 skangas wheel 96 Sep 30 15:50 .
drwxr-xr-x 4 skangas wheel 128 Sep 30 15:50 ..
-rw-r--r-- 1 skangas wheel 0 Sep 30 15:50 foo
- Re: PR: dired-do-create-files now checks for trailing slashes in the target, (continued)
- Re: PR: dired-do-create-files now checks for trailing slashes in the target, Eli Zaretskii, 2021/09/29
- Re: PR: dired-do-create-files now checks for trailing slashes in the target, Lars Ingebrigtsen, 2021/09/29
- Re: PR: dired-do-create-files now checks for trailing slashes in the target, Stefan Kangas, 2021/09/29
- Re: PR: dired-do-create-files now checks for trailing slashes in the target, Tassilo Horn, 2021/09/29
- Re: PR: dired-do-create-files now checks for trailing slashes in the target, Lars Ingebrigtsen, 2021/09/30
- Re: PR: dired-do-create-files now checks for trailing slashes in the target, Lars Ingebrigtsen, 2021/09/30
- Re: PR: dired-do-create-files now checks for trailing slashes in the target, Tassilo Horn, 2021/09/30
- Re: PR: dired-do-create-files now checks for trailing slashes in the target, Lars Ingebrigtsen, 2021/09/30
- Re: PR: dired-do-create-files now checks for trailing slashes in the target, Tassilo Horn, 2021/09/30
- RE: [External] : Re: PR: dired-do-create-files now checks for trailing slashes in the target, Drew Adams, 2021/09/30
- Re: PR: dired-do-create-files now checks for trailing slashes in the target,
Stefan Kangas <=
- Re: PR: dired-do-create-files now checks for trailing slashes in the target, Lars Ingebrigtsen, 2021/09/30
- Re: PR: dired-do-create-files now checks for trailing slashes in the target, Eli Zaretskii, 2021/09/29
- RE: [External] : Re: PR: dired-do-create-files now checks for trailing slashes in the target, Drew Adams, 2021/09/29
- Re: [External] : Re: PR: dired-do-create-files now checks for trailing slashes in the target, Tassilo Horn, 2021/09/29
- RE: [External] : Re: PR: dired-do-create-files now checks for trailing slashes in the target, Drew Adams, 2021/09/29
- Re: PR: dired-do-create-files now checks for trailing slashes in the target, Stefan Kangas, 2021/09/29