SUMMARY: Non-printable characters in directory name

From: jon.ingason@equant.com
Date: Wed Oct 30 2002 - 01:35:58 EST


Thank you ALL for very good respond!

MY PROBLEM:

d--------- 2 owner group 512 Oct 29 15:00 directory\012

How do I remove this directory?

There are two problems here, one the directory has no permission,
two the directory name has the none-printable character \012.

SOLUTION:

First I need to set the permission right and then I can remove
the directory. What I did with success was following:

$ chmod 777 directory*
$ rm -ri directory*
rm examine files in directory directory
 (yes/no)? yes
rm: remove directory
: (yes/no)? yes
$

This is the solution I used. There where some other suggestions
which I could not test (had just one directory), like

$ rmdir -i directory*

etc...

THANKS TO:

Sarah Eckhause (this solution)
Alberto Lopez
Lars Hecking
Rafael Angarita
Casper Dik
Dave Floyd
Chris L. Anderson
John E Riddoch
Martin Hepworth
Ed Rolison
Frank Velazquez
...

and many more ...

Regards

Jon Ingason | Administration of UNIX
Sr Field Ops Eng | DNS, Mail, News, Web, etc
-------------------------------------------------------
IP/Router Operation
Equant Sweden AB
-------------------------------------------------------
Solna strandvdg 80 | Work: +46 8 5191 3316
PO BOX 1 | Fax: +46 8 5191 3200
171 18 SOLNA | Cellular: +46 708 91 3316
SWEDEN | E-mail: Jon.Ingason@equant.com
-------------------------------------------------------
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:25:11 EDT