Bug#419848: how to copy files containing space?
Package: openssh-client
Version: 1:4.3p2-5
Severity: normal
scp is splitting on whitespace even when I quote the command line
argument:
ltsp1:/home/sachin/tmp# scp 'leghorn:/mnt/rdbackup/home/sachin/Daily report
+April -07.ods' .
scp: /mnt/rdbackup/home/sachin/Daily: No such file or directory
scp: report: No such file or directory
scp: April: No such file or directory
scp: -07.ods: No such file or directory
What is the proper way to quote file paths?
-- System Information:
Debian Release: 3.1
APT prefers oldstable
APT policy: (500, 'oldstable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18.6-b1
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Versions of packages openssh-client depends on:
ii adduser 3.59 Add and remove users and groups
ii debconf [debconf-2. 1.5.11 Debian configuration management sy
ii dpkg 1.13.22 package maintenance system for Deb
ii libc6 2.3.6-7 GNU C Library: Shared libraries
ii libcomerr2 1.39-1 common error description library
ii libedit2 2.9.cvs.20050518-2.2 BSD editline and history libraries
ii libkrb53 1.4.3-7 MIT Kerberos runtime libraries
ii libncurses5 5.5-2 Shared libraries for terminal hand
ii libselinux1 1.32-3 SELinux shared libraries
ii libssl0.9.8 0.9.8c-3 SSL shared libraries
ii passwd 1:4.0.14-9 change and administer password and
ii zlib1g 1:1.2.3-11 compression library - runtime
openssh-client recommends no packages.
-- no debconf information
Reply to: