On Thu, 16 Jul 2015 11:51:26 -0500
David Wright <[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]~

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 [email protected] 
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: https://lists.debian.org/[email protected]

Reply via email to