LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   Umlaut-Folder cannot be renamed or deleted (rsync) (http://www.linuxquestions.org/questions/linux-software-2/umlaut-folder-cannot-be-renamed-or-deleted-rsync-562960/)

linusneumann 06-19-2007 10:22 AM

Umlaut-Folder cannot be renamed or deleted (rsync)
 
Hey -
via rsync I copied files from my Macbook (HFS) to my Linux Box (EXT3)
Now I have trouble renaming / deleting a folder which contains an Umlaut, namely: Pädagogik
Code:

LinuSE:/home/linusneumann/Uni # rm -r Pädagogik
rm: Entfernen von „Pädagogik“ nicht möglich: Datei oder Verzeichnis nicht gefunden
means: File or folder not found

however:
Code:

LinuSE:/home/linusneumann/Uni # ls -l
insgesamt 108
...
drwxr-xr-x  2 root        root  4096 23. Mai 18:06 Pädagogik
...
LinuSE:/home/linusneumann/Uni #

Code:

LinuSE:/home/linusneumann/Uni # stat *
...
  File: „Pädagogik“
  Size: 4096            Blocks: 8          IO Block: 4096  Verzeichnis
Device: 303h/771d      Inode: 24182833    Links: 2
Access: (0755/drwxr-xr-x)  Uid: (    0/    root)  Gid: (    0/    root)
Access: 2007-06-19 17:13:07.000000000 +0200
Modify: 2007-05-23 18:06:36.000000000 +0200
Change: 2007-05-23 18:06:36.000000000 +0200
...
LinuSE:/home/linusneumann/Uni # stat Pädagogik
stat: Aufruf von stat für „Pädagogik“ nicht möglich: Datei oder Verzeichnis nicht gefunden
LinuSE:/home/linusneumann/Uni #

Oh and, just in case...:
Code:

LinuSE:/home/linusneumann/Uni # whoami
root

What's the way to still delete the folder? I'd like to just rename it without the umlaut - which would be fine, but now I'm having several copies of the folder on my drive - yes, I CAN copy it, that I would like to get rid of...

Thanks!

Emerson 06-19-2007 10:25 AM

Try rm *dagogik

nx5000 06-19-2007 10:33 AM

Code:

rm -ri 24182833
(using inode number)

linusneumann 06-19-2007 10:41 AM

Thank you guys!


All times are GMT -5. The time now is 07:04 AM.