[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: escaping, bash



In article <20030429201012$3782@gated-at.bofh.it>, Hugh Saunders wrote:

> hugh@nomessin:~$ scp hugh@wacka.mjr.org:~/grant\ letter.doc ~/
> hugh@mjr.org's password:
> scp: /home/hugh/grant: No such file or directory
> scp: letter.doc: No such file or directory
> 
> hugh@wacka:~$ du -h grant\ letter.doc
> 48k     grant letter.doc
> 
> 
> so its obvious what went wrong -i only mean to request one file. 
> How do specify the file correctly?

You could probably just do:
scp user@example.com:grant\*doc ~/

Otherwise, you will need to do:
scp user@example.com:"grant\ letter.doc" ~/

-- 
No copies, please.
To reply privately, simply reply; don't remove anything.



Reply to: