Package: bash-completion Version: 1:2.11-6 Severity: normal X-Debbugs-Cc: uklei...@debian.org
Hello, uwe@taurus:~$ echo content > 'file with space' After that uwe@taurus:~$ rsync localhost:fil<tab> completes to: uwe@taurus:~$ rsync localhost:file\\\ with\\\ space . Adding a target path and pressing Enter then results in: uwe@taurus:~$ rsync localhost:file\\\ with\\\ space /tmp rsync: [sender] link_stat "/home/uwe/file\ with\ space" failed: No such file or directory (2) rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1865) [Receiver=3.2.7] rsync: [Receiver] write error: Broken pipe (32) The right quoting is: uwe@taurus:~$ rsync localhost:file\ with\ space /tmp Interesting side note: uwe@taurus:~$ scp localhost:file\\\ with\\\ space /tmp uwe@taurus:~$ scp localhost:file\ with\ space /tmp uwe@taurus:~$ scp localhost:file\ with\\\ space /tmp all result in the same file being transferred. Best regards Uwe -- System Information: Debian Release: 12.0 APT prefers testing-debug APT policy: (800, 'testing-debug'), (800, 'testing'), (700, 'stable-security'), (700, 'stable-debug'), (700, 'stable'), (600, 'unstable'), (500, 'unstable-debug'), (500, 'oldstable-updates'), (500, 'oldstable-security'), (500, 'oldstable-debug'), (500, 'oldstable'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 6.1.0-9-amd64 (SMP w/4 CPU threads; PREEMPT) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled -- no debconf information