Renaming files, RAR extraction?

An area of the forum to post ideas for new products or discuss things that are not related to 2BrightSparks products

Renaming files, RAR extraction?

Postby rrpei » Mon Jan 23, 2012 11:09 am

I've just created a profile which will keep a server directory and a local directory on my PC in sync, the profile will only contain database backups stored as RAR files.

What I'd now like to do is extract the most recent RAR file in the directory, and rename the resulting .bak file to remove the datestamp it has i.e. backup.bak rather than backup_230112.bak, for easier restore.

Can anyone think of any clever ways I can do this? I'm not expecting it to be possible within SyncBack but I thought some of you guys might have some thoughts on this.

I should add now that I'm not experienced at writing batch files, although that's the solution that springs to mind.

Thanks!
rrpei
Newbie
Newbie
 
Posts: 4
Joined: Mon Jul 11, 2011 9:10 am

Re: Renaming files, RAR extraction?

Postby rrpei » Tue Jan 24, 2012 2:38 pm

If anyone's interested you can rename the files within the rar before extracting it by using WinRAR's command line tools. Useful!
rrpei
Newbie
Newbie
 
Posts: 4
Joined: Mon Jul 11, 2011 9:10 am

Re: Renaming files, RAR extraction?

Postby Mcclain » Thu Apr 19, 2012 9:16 am

I can't find this option in the tools! Maybe I'm blind? :) Could you please specify the location?
Mcclain
Newbie
Newbie
 
Posts: 1
Joined: Thu Apr 19, 2012 9:10 am


Return to Ideas and general discussion

Who is online

Users browsing this forum: No registered users and 3 guests

User Control Panel

Login

Who is online

In total there are 3 users online :: 0 registered, 0 hidden and 3 guests (based on users active over the past 5 minutes)
Most users ever online was 619 on Tue Jun 26, 2007 10:08 am

Users browsing this forum: No registered users and 3 guests