Re: how to copy filename with spaces using scp
From: Joe Smith (jms_at_instantis.com)
Date: 01/14/04
- Previous message: Caron, Jim: "RE: file permissions for new folder"
- Next in thread: John Davidorff Pell: "Re: how to copy filename with spaces using scp"
- Reply: John Davidorff Pell: "Re: how to copy filename with spaces using scp"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Tue, 13 Jan 2004 16:01:13 -0800 To: Jerry Geis <geisj@pagestation.com>
On Thu, Dec 11, 2003 at 09:23:37PM -0500, Jerry Geis wrote:
> I am wondering how I would issue a command using scp
> to copy a file that has spaces in the filename.
I tend to use rsync over ssh for stuff like that.
host-a% rsync -av -e ssh source_dir/ user@host-b:dest_dir/
Rsync handles filenames with spaces, directorynames with spaces,
and does not re-copy files that have already been transfered
to the destination. It also works great for log files, by
transferring new appended data instead of copying the whole file.
-Joe
-- Joe Smith <jms@instantis.com> 408-732-8800 x231 (fax: 408-732-8100) Instantis, Inc. 913 Hermosa Court, Sunnyvale, CA 94085
- Previous message: Caron, Jim: "RE: file permissions for new folder"
- Next in thread: John Davidorff Pell: "Re: how to copy filename with spaces using scp"
- Reply: John Davidorff Pell: "Re: how to copy filename with spaces using scp"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|