Quoting Renaud OLGIATI (renaud@olgiati-in-paraguay.org): > On Thu, 16 Jul 2015 08:23:13 -0400 > Haines Brown <haines@histomat.net> wrote: > > > How do I get rid of the "~" so that the backups are file.1, file.2, > > etc.? > > How about using the GNU rename in the dir holding your backup files: > > $ rename "~" "" *~* Would that not be something more like rename 's/\.~([0-9]+)~$/.$1/' *[0-9]~ Cheers, David.