bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bug Reporte / Help needed.


From: Eric Blake
Subject: Re: Bug Reporte / Help needed.
Date: Fri, 23 Feb 2007 22:24:35 -0700
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.9) Gecko/20061207 Thunderbird/1.5.0.9 Mnenhy/0.7.4.666

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to address@hidden on 2/23/2007 10:13 PM:
> I was tagging some files from a directory, and, by mistake I called it 
> 
> --remove-files.  When I try to use unlink --remove-files to delete that file, 
> I am 
> 
> not able to do it.  
> 

This is a FAQ:
http://www.gnu.org/software/coreutils/faq/coreutils-faq.html#I-have-a-file-called-_003cspan-class_003d_0022option_0022_003e_002d_002dhelp_003c_002fspan_003e_002e-How-do-I-remove-it_003f

You can use either:

$ rm -- --remove-files

or

$ rm ./--remove-files

or use unlink in place of rm.

- --
Don't work too hard, make some time for fun as well!

Eric Blake             address@hidden
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFF38wT84KuGfSFAYARAvQLAKCda92AmJlpkdPgaIRC/xo8cXDMWwCfVYk1
PGKLuYNtlEvspkwkidy7VEc=
=F9kz
-----END PGP SIGNATURE-----




reply via email to

[Prev in Thread] Current Thread [Next in Thread]