LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   I have a good one for you guys! (https://www.linuxquestions.org/questions/linux-general-1/i-have-a-good-one-for-you-guys-3684/)

nabil 06-25-2001 04:24 AM

I have a good one for you guys!
 
I was trying to backup some files from my win2k machine to my linux machine, but now I can't access them after copying them over. Reason spaces in directories names and files...
example "My Files, My Music, My Documents"... I keep getting no such file or directories when trying to CD to these directories in Linux ????
Any ideas how I can access these directories again ????

jharris 06-25-2001 06:37 AM

Use either "" or \ for example:
Code:

cd Program\ Files
or
Code:

cd "Program Files"
or I tend to just let the magic tab key help me out! If you ever get filenames with really nasty characters in it there is a way in bash to specify the ASCII code for a chacter but I've never needed to use it.

HTH

Jamie...

nabil 06-25-2001 04:13 PM

Well while I was waiting for some one to post a reply I was trying out few things.

Directories were:

My Files
My Music
My Documens

So I did

mv *Files MyFiles
mv *Music MyMusic
mv *Documents MyDocuments

And it worked...


Thanks anyway,


All times are GMT -5. The time now is 08:49 AM.