Bluehose
12-16-2007, 11:21 AM
I am using Linux to copy the contents of one directory to another and am having difficulties. In DOS speak, I am trying to copy the contents of a subdirectory from one disk to another disk. I have figured out the cp command in Linux, however, I've run across a problem with directory naming conventions.
When I type in ls to view the contents of the root of my first disk (/mnt/disk/sda1), I get the subdirectories in blue and the files in green (right?). I want to use cd to look at the contents of a subdirectory called Documents and Settings. I know that Linux is case sensitive, but every time I try to go to Documents and Settings I get the message that no such directory exists. I can see it when I use the ls command, but I assume the spaces between words is a problem. My question is, how do I view the files and subdirectories under a subdirectory that has spaces in the name? I tried underlines between spaces but that didn't work.
Thanks in advance from a very very green Linux user!
When I type in ls to view the contents of the root of my first disk (/mnt/disk/sda1), I get the subdirectories in blue and the files in green (right?). I want to use cd to look at the contents of a subdirectory called Documents and Settings. I know that Linux is case sensitive, but every time I try to go to Documents and Settings I get the message that no such directory exists. I can see it when I use the ls command, but I assume the spaces between words is a problem. My question is, how do I view the files and subdirectories under a subdirectory that has spaces in the name? I tried underlines between spaces but that didn't work.
Thanks in advance from a very very green Linux user!