Quoting Renaud OLGIATI ([email protected]):
> On Thu, 16 Jul 2015 08:23:13 -0400
> Haines Brown <[email protected]> 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.


-- 
To UNSUBSCRIBE, email to [email protected] 
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: https://lists.debian.org/20150716165126.GA9663@alum

Reply via email to