Mailing List Archive


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

Re: [tlug] scp nantoka$filename -nevermind



Shawn,

Shawn wrote:

> 
>> When I scp the following:
>>
>> LessonDownload$LessonResults.class
>>
>> It only transfers a different file:
>>
>> LessonDownload.class
>>
>> I need both files to go but can't seem to get the one with a $ to go.
>>
>> Any alternative to using mv and renaming it -like some kind of escape 
>> sequence in xml but for scp?
> 
> 
> Nevermind, seems doing the whole dir is the only way.  mv failed too.

Did you try with:
scp 'LessonDownload$LessonResults.class' user@example.com:/some/path

I believe if you use single quotes, the shell will not try to 
interpolate the dollar sign.

-- 
Jacques Deguest
<http://www.deguest.jp/>

-- 
This message has been scanned for viruses and
dangerous content, and is believed to be clean.


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links