Can't Remove Directory?

John Kolen jkolen at uwf.edu
Tue Oct 5 11:54:45 MDT 2004


If 

   ls -l 43480* 

gives you only one file, then

   rm 43480*

should delete it.

On Tue, Oct 05, 2004 at 12:53:25PM -0500, Drew Lane wrote:
> Nope.  That didn't work either:  "No such file or directory".
> 
> BTW, probably would be better to rename this directory
> if possible rather than delete it since it has user files in it.
> (I tried "mv 43480\\ 43480" and "rmdir 43480\\")
> 
> Drew
> 
> 
> 
> Jerry S. wrote:
> 
> >Hello Yellow,
> >
> > rmdir 43480\\
> > should do the trick for you.  You will have to "escape" the "\".
> >
> > jer
> >
> >Tuesday, October 5, 2004, 10:30:08 AM, you wrote:
> >
> >
> > 
> >
> >>>Drew, use "ls -q" and dollars to donuts you'll see a special character in
> >>>the filename. You can also use "find . -ls" in the above directory and it
> >>>will show you the filename.
> >>>
> >>>     
> >>>
> >DL> Looks like you're on the right track.
> >
> >DL> "ls -q" didn't show anything special, but "find . -ls" shows this:
> >
> >DL> 476116   4   drwxr-xr-x   2   root   root   4096   Oct   4   23:07
> >DL> ./43480\
> >
> >DL> Note the \ charachter at the end of the directory.
> >
> >DL> None of the other directories have this.
> >
> >DL> How do i get rid of this?  I tried mv 43480\ 43480 but it didn't work.
> >
> >DL> Thanks,
> >
> >DL> Drew
> >
> >
> >
> >
> >DL> _______________________________________________
> >DL> yellowdog-general mailing list
> >DL> yellowdog-general at lists.terrasoftsolutions.com
> >DL> http://lists.terrasoftsolutions.com/mailman/listinfo/yellowdog-general
> >DL> HINT: to Google archives, try  '<keywords> site:terrasoftsolutions.com'
> >
> >
> > 
> >

> _______________________________________________
> yellowdog-general mailing list
> yellowdog-general at lists.terrasoftsolutions.com
> http://lists.terrasoftsolutions.com/mailman/listinfo/yellowdog-general
> HINT: to Google archives, try  '<keywords> site:terrasoftsolutions.com'

-- 
Dr. John Kolen
Assistant Professor
Dept. of Computer Science
University of West Florida


More information about the yellowdog-general mailing list