Renaming files, RAR extraction?
3 posts
• Page 1 of 1
Renaming files, RAR extraction?
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!
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

- Posts: 4
- Joined: Mon Jul 11, 2011 9:10 am
Re: Renaming files, RAR extraction?
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

- Posts: 4
- Joined: Mon Jul 11, 2011 9:10 am
Re: Renaming files, RAR extraction?
I can't find this option in the tools! Maybe I'm blind?
Could you please specify the location?
- Mcclain
- Newbie

- Posts: 1
- Joined: Thu Apr 19, 2012 9:10 am
3 posts
• Page 1 of 1
Return to Ideas and general discussion
Who is online
Users browsing this forum: No registered users and 3 guests