Re: removing a file...linux
Jean-Philippe BATTU <[email protected]>
| Newsgroups | gmane.comp.gnu.fileutils.bugs |
|---|---|
| Organization | Bull |
| Message-ID | <[email protected]> |
Hi Allan ;
You may know the inode number of this file by the
simple command :
ls -ail
..
<inum number> .................. -9DS3U-ppp-summary
...
and remove it by the find command :
find . -inum <inum number> -exec /bin/rm -i {} \;
Happy removing files !
Cheers
Allan Apellanes wrote:
>
>
> hello,
>
> i can't seem to remove this file due to the "-" as first character.
> i've tried all combo...i.e rm -f
> i've tried rm -d <directory> and other things....do you have any
> suggestions?
>
> here's the filename below:
> -9DS3U-ppp-summary
>
> thanks,
> allan
>
--
---------------------------------------------------------------------
Jean-Philippe BATTU Phone : (33) 04 76 29 73 43
Localisation: B1/403 Fax : (33) 04 76 29 75 18
Mail : [email protected]
Bull, 01 Rue de Provence
B.P. 208
38432 Echirolles FRANCE
---------------------------------------------------------------------