[ale] How can I delete this file?
James Sumners
james at sumners.ath.cx
Tue Sep 7 20:41:26 EDT 2004
How about `rm -- ??funky at file??`
On Tue, 07 Sep 2004 20:36:18 -0400
Christopher Bergeron <christopher at bergeron.com> wrote:
> Hrm, neither solution seemed to work. I'm truly stumped on this one. I
> have no idea what created these files, I think I cat'ed a binary to the
> console or something.
>
> Any other ideas?
>
> Is there a way I can delete the inode(s) without damaging my filesystem?
>
> -CB
>
>
> Here's the ls -lb output:
> -rw-r--r-- 1 root root 0 Aug 1 16:32
> \276?\277@\300A\301B\302\235\270\216\270\235\234\234\216\270\235\234\234
> -rw-r--r-- 1 root root 0 Aug 1 16:32 \276\270\235
>
> Here's the ls output:
> -rw-r--r-- 1 root root 0 Aug 1 16:32
> ???@?A?B?????????????
> -rw-r--r-- 1 root root 0 Aug 1 16:32 ???
>
>
>
> [root at DashPC ~]$ rm \?\?\?\@\?A\?B\?\?\?\?\?\?\?\?\?\?\?\?\?
> rm: cannot remove `???@?A?B?????????????': No such file or directory
> [root at DashPC ~]$ rm ./* -i
> rm: cannot lstat `./*': No such file or directory
> [root at DashPC ~]$ rm -i ./*
> rm: cannot lstat `./*': No such file or directory
> [root at DashPC ~]$ rm -i *
> rm: cannot lstat `*': No such file or directory
>
>
>
> Fletch wrote:
>
> >>>>>>"Christopher" == Christopher Bergeron <christopher at bergeron.com> writes:
> >>>>>>
> >>>>>>
> >
> > Christopher> I have a file named: ???@?A?B?????????????
> >
> > Christopher> (yep, thats the name of it)
> >
> > Christopher> Can anyone tell me how to delete it? I've tried the
> > Christopher> usual tricks, but with no adeu.
> >
> >rm -i ./* # and make sure you only hit Y when you really mean it :)
> >
> >
> >Depending on your shell TAB-completion might be useful (at least zsh
> >would probably handle it gracefully :).
> >
> >
> >Also of interest may be `ls -b' or `ls -B':
> >
> >
> > -B Force printing of non-printable characters (as defined by
> > ctype(3) and current locale settings) in file names as \xxx,
> > where xxx is the numeric value of the character in octal.
> >
> >[...]
> >
> > -b As -B, but use C escape codes whenever possible.
> >
> >
> >
> >
> >--
> >Fletch | "If you find my answers frightening, __`'/|
> >fletch at phydeaux.org | Vincent, you should cease askin' \ o.O'
> > | scary questions." -- Jules =(___)=
> > | U
> >_______________________________________________
> >Ale mailing list
> >Ale at ale.org
> >http://www.ale.org/mailman/listinfo/ale
> >
> >
> >
>
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://www.ale.org/mailman/listinfo/ale
--
James Sumners
http://ug.dyndns.org/~jsumners/
"All governments suffer a recurring problem: Power attracts pathological
personalities. It is not that power corrupts but that it is magnetic to the
corruptible. Such people have a tendency to become drunk on violence, a
condition to which they are quickly addicted."
Missionaria Protectiva, Text QIV (decto)
CH:D 59
More information about the Ale
mailing list