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

Re: the ~ files



Hi,

>I would like to know if it is possible to delete all file ending by the
>symbol ~
>with the command without risk :
>        rm -R *~
>I have more and more of them every day.

I would consider that command harmful in that it even removes complete
directories matching *~. But if that's what you want, why not?

I personally have an alias like

  alias purge='/bin/rm -f ./*~ ./.*~'

in my .bashrc, remaining me of the old VMS days.

Harald


Reply to: