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

Re: Deleting weird-named files



"Radek W." <rad01@2wbros.org> writes:

> and why not try
>
> rm -i *
>
> then answer 'n' to all files and 'y' to your problematic file.

Try the following commands

    mkdir rm-test
    cd rm-test
    touch ./--foobar
    rm -i *

and you'll see why.

(Besides, imagine having to answer 'n' to all but one file in a
directory with ten thousand files...)

Martin



Reply to: