[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: filename problem



Thomas Meggs wrote:
Hi -

I have a few files on my system which I'm having issues dealing with. Here
is the story:

File can't be ls'd:
# ls -l
ls: egotrippi_-_??l??_koskaan_ikin??.mp3: No such file or directory
total 135800
[ The error is generated, but then the file isn't listed with the rest of
the output. ]

File can't be glob'd:
# rm ego*
rm: cannot remove `egotrippi_-_?\346l?\346_koskaan_ikin?\346.mp3': No such
file or directory

File can't be mv'd (here it is quoted):
# mv "egotrippi_-_??l??_koskaan_ikin??.mp3" test.mp3
mv: cannot stat `egotrippi_-_?\346l?\346_koskaan_ikin?\346.mp3': No such
file or directory

Or just escape'd:
# rm egotrippi_-_\??l\??_koskaan_ikin\??.mp3
rm: cannot remove `egotrippi_-_?\346l?\346_koskaan_ikin?\346.mp3': No such
file or directory

I've unmounted the partition and force fsck'd it, it checks clean. For the
curious, it is on a mdadm'd (RAID1) JFS partition.

I've tried changing my locale to ISO8859-1, ISO8859-15, and UTF-8.

I've also tried removing the file via midnight commander, I get the
'cannot stat' error message.

If I do an ls -i, the same error pops up and the inode isn't listed with
the file.

I've tried # file ego* and that can't find the file either.

I just moved the system in particular from Fedora over to Debian. Fedora
had no problems reading it.

Any suggestions would of course be appreciated.

Thanks!


Maybe you can try,
 ls -i
and then,
 find . -inum <number of ls -i> -ok mv '{}' myfile \;

HTH,

Joris



Reply to: