1828233 Members
2226 Online
109975 Solutions
New Discussion

HELP

 
Nobody's Hero
Valued Contributor

HELP

Sorry about the multiple entry, I had chicken for lunch. I have a 800 meg file that has the name of an upside down question mark. It was created by Documentum Scanning software. The application dumps all kinds of crazy files. How can I remove it? I tried turning the keyboard upside down when typing, no help. Just kidding, any help appreciated.

Bob
UNIX IS GOOD
5 REPLIES 5
harry d brown jr
Honored Contributor

Re: HELP

rm /bin/ladin should do it.

how about rm -i *
Live Free or Die
A. Clay Stephenson
Acclaimed Contributor

Re: HELP

Hi Robert:

The easist method is 1) cd to the desired directory 2) rm -i * - you will be prompted for each file that you wish to remove; answer 'n' for those you do not want to rm and 'y' for the bad file. As soon as you have answered 'y' you can enter ctrl-c to kill the rm command.

By the way, you can do an ls -b to force the printing of non-ascii characters as octal.


Clay
If it ain't broke, I can fix that.
Nobody's Hero
Valued Contributor

Re: HELP

Thanks Harry,
Im a novice. 101......
UNIX IS GOOD
Sachin Patel
Honored Contributor

Re: HELP

Hi Robert,
What about if you use
#rm -i *.ext (extension if any)

if this file has name tt?tt then
rm -i tt* or rm -i *tt

If this file name is just ? (otherway)
rm -i * and say no until you reach this file.

Sachin
Is photography a hobby or another way to spend $
Darrell Allen
Honored Contributor

Re: HELP

If it is just one character try rm -i ?
Don't forget the -i just in case there are more than 1 single character named files.

Darrell
"What, Me Worry?" - Alfred E. Neuman (Mad Magazine)