[X-Unix] Re: Re: Unlinking a file... illegal characters?

Peter Dyballa Peter_Dyballa at Web.DE
Fri Feb 25 02:38:16 PST 2005


Am 25.02.2005 um 10:38 schrieb 
x-unix-request at listserver.themacintoshguy.com:

> Unfortunately:
>
>    $ ls legoland/
>    e??y??y??y??vk??????..??????
>    339 /Volumes/CLEARLIGHT/foo $ ls -lFa -i legoland/
>    ls: èÿÿÿvk␀␀..␀␀: File name too long
>    total 128
>    731381 drwxrwxrwx  1 stroller  admin  32768 22 Nov 03:27 ./
>    772975 drwxrwxrwx  1 stroller  admin  32768 25 Feb 01:53 ../
>    $
>
> Can you suggest any other way to find the inode number?

Since that file name seems to have a lot of control characters you 
could try this to get the inode number:

ls -lRi /Volumes/CLEARLIGHT/.Trashes/501/legoland

find /Volumes/CLEARLIGHT/.Trashes/501/legoland -type f -exec ls -li {} 
\;

find /Volumes/CLEARLIGHT/.Trashes/501/legoland -type f -ls


If they don't reveal the inode number directly at once you'll be able 
to find it with some thinking.

--
Greetings

   Pete

If my theory of relativity is proven successful, Germany will claim me
as a German, and France will declare that I am a citizen of the world.
Should my theory prove untrue, France will say that I am a German, and
Germany will declare that I am a Jew.          --Albert Einstein, 1929

_______________________________________________
X-Unix mailing list
X-Unix at listserver.themacintoshguy.com
http://listserver.themacintoshguy.com/mailman/listinfo/x-unix



More information about the X-Unix mailing list