On Thu, 16 Jul 2015 11:51:26 -0500
David Wright <deb...@lionunicorn.co.uk> 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]~

Which is why I stick to the GNU version of rename, and shun the perl version; 
much simpler syntax.
 
Cheers,
 
Ron.
-- 
      Never have I encountered such corrupt and foul-minded perversity!
              Have you ever considered a career in the church?!
                                            -- Bishop of Bath and Wells
                                    
                   -- http://www.olgiati-in-paraguay.org --
 


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20150716130108.04d51...@ron.cerrocora.org

Reply via email to