samba-bugs@samba.org
2009-May-19 15:30 UTC
DO NOT REPLY [Bug 6376] New: Trailing slashes avoid creating directories in daemon mode
https://bugzilla.samba.org/show_bug.cgi?id=6376
Summary: Trailing slashes avoid creating directories in daemon
mode
Product: rsync
Version: 3.0.6
Platform: x64
OS/Version: FreeBSD
Status: NEW
Severity: enhancement
Priority: P3
Component: core
AssignedTo: wayned@samba.org
ReportedBy: Bernard@trevesbrown.me.uk
QAContact: rsync-qa@samba.org
The man page compares:
rsync -av /src/foo /dest
rsync -av /src/foo/ /dest/foo
and states that in the second case no foo directory is created on the client.
This behaviour would be useful in daemon mode, so that
rsync -av host::module/lower/ /dest/
does not create a directory /dest/lower/ but copies everything into /dest/
Thanks
--
Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.
samba-bugs@samba.org
2009-May-19 15:46 UTC
DO NOT REPLY [Bug 6376] Trailing slashes avoid creating directories in daemon mode
https://bugzilla.samba.org/show_bug.cgi?id=6376 ------- Comment #1 from matt@mattmccutchen.net 2009-05-19 10:46 CST ------- (In reply to comment #0)> This behaviour would be useful in daemon mode, so that > rsync -av host::module/lower/ /dest/ > does not create a directory /dest/lower/ but copies everything into /dest/That is what the command currently does. Are you proposing a change? -- Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug, or are watching the QA contact.
samba-bugs at samba.org
2009-Sep-05 15:31 UTC
DO NOT REPLY [Bug 6376] Trailing slashes avoid creating directories in daemon mode
https://bugzilla.samba.org/show_bug.cgi?id=6376
wayned at samba.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |WORKSFORME
------- Comment #2 from wayned at samba.org 2009-09-05 10:31 CST -------
The only thing different about daemon mode is that a trailing module name does
not create a trailing directory (which it kinda looks like it should). For
instance:
rsync -aiv host::module /dest/
That command does not create /dest/module since the module name is not a part
of the path.
--
Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.
Maybe Matching Threads
- DO NOT REPLY [Bug 7450] New: When a single file is specified, the exclusion of it in the exclude-from file is ignored
- [PATCH 2/3] daemon: glob: add option for not returning dirs with trailing slash
- DO NOT REPLY [Bug 6151] New: --safe-links can be fooled by adding extra slashes to the path
- [PATCH v2 1/2] daemon: glob: add optarg to control trailing slash for dirs
- [PATCH 1/2] daemon: glob: do not return directories with trailing slash