[CentOS] How to delete files with specical characters in the name?
Garl Grigsby
badd_karma at comcast.net
Tue Jan 22 16:56:45 UTC 2008
Eric B. wrote:
> Hi,
>
> I've got an odd situation here. Somehow, I find myself with two files that
> start with the - character.
> [eric at apollo mysql]$ ls -l
> total 93348
> -rw-r--r-- 1 mysql mysql 9273344 Nov 13 19:03 -N=2007-11-08
> -rw-r--r-- 1 mysql mysql 38879232 Nov 13 19:02 --newer=2007-11-08
>
>
>
rm -- --newer=2007-11-08
rm -- -N=2007-11-08
That is rm space dash dash space then the filename.
Garl
More information about the CentOS
mailing list