[torqueusers] no spaces in directory names

Åke Sandgren ake.sandgren at hpc2n.umu.se
Tue Feb 5 23:44:35 MST 2008


On Tue, 2008-02-05 at 18:00 -0800, Garrick Staples wrote:
> I can get everything working when using local 'cp' (including $usecp-configured
> network filesystems), but 'scp' really gets the quoting wrong.
> 
> Seems to me that the first 2 should work, and the rest should fail:
> $ scp ./foo hpc-admin:/home/rcf-00/garrick/5000\ atoms/
> scp: ambiguous target
> $ scp ./foo 'hpc-admin:/home/rcf-00/garrick/5000 atoms/'
> scp: ambiguous target
> 
> $ scp ./foo hpc-admin:/home/rcf-00/garrick/5000\\ atoms/
> atoms/: No such file or directory
> $ scp ./foo hpc-admin:/home/rcf-00/garrick/5000\\\ atoms/
> foo                                                                          100%  857     0.8KB/s   00:00
> $ scp ./foo 'hpc-admin:/home/rcf-00/garrick/5000\ atoms/'
> foo                                                                          100%  857     0.8KB/s   00:00

Yes they should but scp doesn't protect the " " either...
At least that's how i interpret those results.
Perhaps a bug report towards scp is in order...

-- 
Ake Sandgren, HPC2N, Umea University, S-90187 Umea, Sweden
Internet: ake at hpc2n.umu.se   Phone: +46 90 7866134 Fax: +46 90 7866126
Mobile: +46 70 7716134 WWW: http://www.hpc2n.umu.se



More information about the torqueusers mailing list