I had to do some copying last night and the double quotes works just fine. Knoppix has a quirk where newly-created files don't appear on the desktop as icons. Clicking "refresh" doesn't help. I end up having to open up a terminal window and copy the files to my hard drive using cp. It's a bit of a pain, but at least I get the files copied over.
On Feb 20, 5:32 pm, Blues Renegade <[email protected]> wrote: > Info about bash quoting:http://www.google.com/search?q=bash+quoting > > The short answer is, use single quotes to surround file/directory/paths > with spaces in them. > > John > > > > Dos-Man 64 wrote: > > I've had some trouble trying to perform general shell commands like cp > > and mv on file names that contain spaces. > > > Let's say for example I have a file named MY DATA.TXT. > > > Now let's say I want to create a backup copy of it. > > > cp MY DATA.TXT MY DATA.BAK > > > Well, I don't think that worked, presumably because the shell thought > > MY and DATA.TXT represented two different files. I could type in the > > whole path of MY DATA.TXT and enclose it double quotes or something? > > > cp "/home/MY DATA.TXT" "MY DATA.BAK" > > > Does traditional Unix allow spaces in file names? What is the best > > way to deal with these kinds of file names?- Hide quoted text - > > - Show quoted text - -- You received this message because you are subscribed to the Linux Users Group. To post a message, send email to [email protected] To unsubscribe, send email to [email protected] For more options, visit our group at http://groups.google.com/group/linuxusersgroup
