I can not access certain folders.
Hello. I am having trouble with the X Server and so I was planing to do a complete re-install, this was not the only reason for me to do it. I am using the command line at this time and I am having trouble accessing a couple of folders that I names when using KDE. One of the folders is named "old mail" , without the "'s. When I try to access that folder I get the error message of "can not find folder old". Is there a way I can access or rename this folder to copy the information located within it? Thank you in advance. James Ruhsam
On Tue, Jan 23, 2001 at 06:12:11AM -0700, jruhsam@pcisys.net wrote:
Hello.
I am having trouble with the X Server and so I was planing to do a complete re-install, this was not the only reason for me to do it. I am using the command line at this time and I am having trouble accessing a couple of folders that I names when using KDE. One of the folders is named "old mail" , without the "'s. When I try to access that folder I get the error message of "can not find folder old". Is there a way I can access or rename this folder to copy the information located within it?
Your problem is that the shell sees the space between "old" and "mail", and thinks that they are two separate words. Two solutions: 1) Put quotes round the phrase (i.e. "old mail" _with_ the "s) 2) Don't put spaces in file or directory names. They are legal in UNIX, but cause big problems with having to escape them in shells (as you've found out). Use underscores (_) instead. -- David Smith Tel: +44 (0)1454 462380 (direct) STMicroelectronics Fax: +44 (0)1454 617910 1000 Aztec West TINA (ST only): (065) 2380 Almondsbury Home: 01454 616963 BRISTOL Mobile: 07932 642724 BS32 4SQ Work Email: Dave.Smith@st.com Home Email: David.Smith@ds-electronics.co.uk
participants (2)
-
Dave Smith
-
JR