Re: [ILUG] Deleting a file with a "--" prefix

From: Miles (kieran.colfer at domain ireland.sun.com)
Date: Wed 23 May 2001 - 10:50:17 IST


Hmm, as it's solaris, it's possible someone may have been fscking around with different locales,
logged in in something like chinese or greek or some UTF-8 locale and created some file using some
non-ascii chars in the filename. Standard C locale dtterms sometimes barf when they try to read
those characters.

One way to get rid of them could be to open up the CDE file manager, select the files there, and
just hit 'delete'. Contrary to popular opinion in the techy world, not everything in unix has to be
done at the command prompt ;-P

At 04:51 23/05/01 -0400, you wrote:
>Its the / directory :-)
>
>-Roy
>
>-----Original Message-----
>From: Chris Higgins [mailto:chris.higgins at domain horizon.ie]
>Sent: 23 May 2001 09:26
>To: Roy White
>Cc: Irish Linux Users' Group
>Subject: Re: [ILUG] Deleting a file with a "--" prefix
>
>
> > Seeing as how we are on this subject here's one for ya,
>
>
>Looks like control characters or garbage in the filename...
>
>You could move everything else out of the directory they are in
>and then rm -rf it...
>
>
> >
> > how do I delete the following files...
> > =========================================================
> > #ls -las | more
> > total 869
> > 0 -rw-r--r-- 1 root other 0 Apr 12 08:19 unexpected
> >
> > ^
> >
> > % Invalid input detected at
> > 0 -rw-r--r-- 1 root other 0 Apr 12 08:14 unexpected
> >
> > ^
> >
> > % Invalid input detected at
> > 0 -rw-r--r-- 1 root other 0 Apr 12 08:15 unexpected
> >
> > ^
> >
> > % Invalid input detected at
> > 0 -rw-r--r-- 1 root other 0 Apr 12 08:16 unexpected
> >
> > ^
> >
> > % Invalid input detected at
> > ==========================================================
> >
> > ? any help much appreciated, and how would you go about creating them
> >
> > Regards
> >
> > Roy
> >
> > p.s. this is on Solaris 5.6
> >

-- 
		- Miles
kieran.colfer at domain ireland.sun.com
http://sun.com/developers/gadc/
Despite the cost of living, have you noticed how popular it
remains?


This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:10:26 GMT