Windows Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsOperating SystemsWindows Help
The ASP Free website provides in-depth information on the latest developer tools available from Microsoft. Our cadre of writers, highly experienced industry experts, reveals the best ways to use established technologies as well as new and emerging technologies. Our coverage of Microsoft's development and administration technologies is among the most respected in the IT industry today.

ASP Free and Iron Speed Designer are giving away $5,500+ in FREE licenses. Iron Speed's RAD CASE toolset can save up to 80% of your coding time. One free license per week, one perpetual license per month!
Download and Activate to enter!

Intel® Graphics Performance Analyzers is a powerful tool suite for analyzing and optimizing your games, media, and graphics-intensive applications. Used by some of the best developers on the planet, Intel GPA lets you maximize your app’s performance.


Tutorials
| Forums

Download to Enter
| Contest Rules

DOWNLOAD INTEL® GPA FOR FREE

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old May 4th, 2006, 12:55 PM
desmou desmou is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2006
Posts: 21 desmou User rank is Corporal (100 - 500 Reputation Level)desmou User rank is Corporal (100 - 500 Reputation Level)desmou User rank is Corporal (100 - 500 Reputation Level)desmou User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 6 h 29 m 11 sec
Reputation Power: 0
WinRaR Command line help

I'm not sure if I'm allowed to ask Windows-specific software questions here, but I can't find a single forum for Winrar on it's own, and I know there people in this community would probably know this.

I'm sorry if I can't ask these types of questions.


I am trying to improve upon a backup system I currently have going within my network domain at work. This is how it works:

I am using the WinRaR compression utility to zip certain files from certain locations thoughout the network, and place all the zipped files in designated folders on one machine. This works by assigning the windows task sheduler to run batch files on certain days of the week. The batch files contain a WinRaR command line that, with the use of parameters and switches, allow me to customize each zipped archive as they are created. For those who need examples, here is one of those command lines:

C:\Progra~1\WinRAR\winrar a -ep2 -m5 -O+ -v4.5g "C:\backups\choey\choey_Monday.rar" "Y:\dump\choey"

The problem with this, is that, since I'm making a new file for everyday of the week (that example is Monday's) I'm using a lot of diskspace.

Now, if you were patient enough to read that much, here is what I would like to do:

I would like to modify my system, so every monday, an entire backup is done (like now), but, for Tuesday - Friday's batch files, I want to modify the WinRaR command line to create new files containing ONLY modified, or new files from the Monday's.

What do you think?

Last edited by desmou : May 4th, 2006 at 03:42 PM. Reason: Changing the title

Reply With Quote
  #2  
Old May 4th, 2006, 04:46 PM
Profftnt's Avatar
Profftnt Profftnt is offline
They call me geek here........
Dev Shed Frequenter (2500 - 2999 posts)
 
Join Date: Nov 2004
Location: 118 Computer Geek, UK
Posts: 2,976 Profftnt User rank is Major (30000 - 40000 Reputation Level)Profftnt User rank is Major (30000 - 40000 Reputation Level)Profftnt User rank is Major (30000 - 40000 Reputation Level)Profftnt User rank is Major (30000 - 40000 Reputation Level)Profftnt User rank is Major (30000 - 40000 Reputation Level)Profftnt User rank is Major (30000 - 40000 Reputation Level)Profftnt User rank is Major (30000 - 40000 Reputation Level)Profftnt User rank is Major (30000 - 40000 Reputation Level)Profftnt User rank is Major (30000 - 40000 Reputation Level)Profftnt User rank is Major (30000 - 40000 Reputation Level)  Folding Points: 32057 Folding Title: Starter FolderFolding Points: 32057 Folding Title: Starter Folder
Time spent in forums: 2 Weeks 22 h 49 m 36 sec
Reputation Power: 385
Have you not considered taking up backup images of the disk?

7 zip offers better compression so you may wish to use that instead.
__________________
Did this help? If so, please add to my Reputation by clicking the at the top of this post

My Folding: -





Reply With Quote
  #3  
Old May 4th, 2006, 05:52 PM
Dameon51 Dameon51 is offline
http://stealthwd.ca
Dev Shed Novice (500 - 999 posts)
 
Join Date: Dec 2005
Posts: 670 Dameon51 User rank is First Lieutenant (10000 - 20000 Reputation Level)Dameon51 User rank is First Lieutenant (10000 - 20000 Reputation Level)Dameon51 User rank is First Lieutenant (10000 - 20000 Reputation Level)Dameon51 User rank is First Lieutenant (10000 - 20000 Reputation Level)Dameon51 User rank is First Lieutenant (10000 - 20000 Reputation Level)Dameon51 User rank is First Lieutenant (10000 - 20000 Reputation Level)Dameon51 User rank is First Lieutenant (10000 - 20000 Reputation Level)Dameon51 User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 5 Days 21 h 53 m 20 sec
Reputation Power: 198
Send a message via ICQ to Dameon51
Winrar has a `u` switch that lets you update existing files. Right now your using `a`, which adds files. For every day besides monday, try using the `u`.

Reply With Quote
  #4  
Old May 5th, 2006, 01:58 AM
aitken325i's Avatar
aitken325i aitken325i is offline
Providing fuel for space ships
Dev Shed God 19th Plane (14000 - 14499 posts)
 
Join Date: Mar 2004
Location: nr Edinburgh, Scotland
Posts: 14,222 aitken325i User rank is General 40th Grade (Above 100000 Reputation Level)aitken325i User rank is General 40th Grade (Above 100000 Reputation Level)aitken325i User rank is General 40th Grade (Above 100000 Reputation Level)aitken325i User rank is General 40th Grade (Above 100000 Reputation Level)aitken325i User rank is General 40th Grade (Above 100000 Reputation Level)aitken325i User rank is General 40th Grade (Above 100000 Reputation Level)aitken325i User rank is General 40th Grade (Above 100000 Reputation Level)aitken325i User rank is General 40th Grade (Above 100000 Reputation Level)aitken325i User rank is General 40th Grade (Above 100000 Reputation Level)aitken325i User rank is General 40th Grade (Above 100000 Reputation Level)aitken325i User rank is General 40th Grade (Above 100000 Reputation Level)aitken325i User rank is General 40th Grade (Above 100000 Reputation Level)aitken325i User rank is General 40th Grade (Above 100000 Reputation Level)aitken325i User rank is General 40th Grade (Above 100000 Reputation Level)aitken325i User rank is General 40th Grade (Above 100000 Reputation Level)aitken325i User rank is General 40th Grade (Above 100000 Reputation Level)  Folding Points: 10110 Folding Title: Novice Folder
Time spent in forums: 5 Months 4 Weeks 17 h 36 m 33 sec
Reputation Power: 3643
Have a look at the WinRAR manual here ==> Clicky

There are limitions with the switches and archives, but these are detailed at the end of the manual.

Reply With Quote
  #5  
Old May 8th, 2006, 09:21 AM
desmou desmou is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2006
Posts: 21 desmou User rank is Corporal (100 - 500 Reputation Level)desmou User rank is Corporal (100 - 500 Reputation Level)desmou User rank is Corporal (100 - 500 Reputation Level)desmou User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 6 h 29 m 11 sec
Reputation Power: 0
Quote:
Originally Posted by Profftnt
Have you not considered taking up backup images of the disk?

7 zip offers better compression so you may wish to use that instead.


I can't say I know how to take advantage of that type of compression at all, perhaps I should take a look at the manual thanks

Quote:
Originally Posted by Dameon51
Winrar has a `u` switch that lets you update existing files. Right now your using `a`, which adds files. For every day besides monday, try using the `u`.


Yea, this is what I had thought about doing, but doesn't that function look at the existing RAR file, see if there are any changes, and update it? Cause what I need it to do, is to look at the RAR file, see if there are any changes, and compress the changes into a separate file.


Thanks for your help guys

Last edited by desmou : May 8th, 2006 at 12:19 PM. Reason: horrible Grammar

Reply With Quote
  #6  
Old May 8th, 2006, 11:39 AM
Dameon51 Dameon51 is offline
http://stealthwd.ca
Dev Shed Novice (500 - 999 posts)
 
Join Date: Dec 2005
Posts: 670 Dameon51 User rank is First Lieutenant (10000 - 20000 Reputation Level)Dameon51 User rank is First Lieutenant (10000 - 20000 Reputation Level)Dameon51 User rank is First Lieutenant (10000 - 20000 Reputation Level)Dameon51 User rank is First Lieutenant (10000 - 20000 Reputation Level)Dameon51 User rank is First Lieutenant (10000 - 20000 Reputation Level)Dameon51 User rank is First Lieutenant (10000 - 20000 Reputation Level)Dameon51 User rank is First Lieutenant (10000 - 20000 Reputation Level)Dameon51 User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 5 Days 21 h 53 m 20 sec
Reputation Power: 198
Send a message via ICQ to Dameon51
Quote:
Originally Posted by desmou
I can't say I know how to take advantage of that type of compression at all, perhaps I should take a look at the manual thanks



Yea, this is what I had thought about doing, but doesn't that function the the existing RAR file, see if there are any changes, and update it? Cause what I need it to do, is to take the RAR file, see if there are any changes, and compress the changes into a serperate file.


Thanks for your help guys


You want to put ONLY the changes in another RAR file? That might be a little tricky.... :S

Reply With Quote
  #7  
Old May 8th, 2006, 12:23 PM
desmou desmou is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2006
Posts: 21 desmou User rank is Corporal (100 - 500 Reputation Level)desmou User rank is Corporal (100 - 500 Reputation Level)desmou User rank is Corporal (100 - 500 Reputation Level)desmou User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 6 h 29 m 11 sec
Reputation Power: 0
Yea, I was hoping WinRaR would be capable of it, but I'm not sure.

If I had it that way, then I'd be all set weekly:


Monday would be a full backup, of everything
Tuesday-Friday's files will contain differences from Monday's

Reply With Quote
  #8  
Old May 8th, 2006, 01:06 PM
aitken325i's Avatar
aitken325i aitken325i is offline
Providing fuel for space ships
Dev Shed God 19th Plane (14000 - 14499 posts)
 
Join Date: Mar 2004
Location: nr Edinburgh, Scotland
Posts: 14,222 aitken325i User rank is General 40th Grade (Above 100000 Reputation Level)aitken325i User rank is General 40th Grade (Above 100000 Reputation Level)aitken325i User rank is General 40th Grade (Above 100000 Reputation Level)aitken325i User rank is General 40th Grade (Above 100000 Reputation Level)aitken325i User rank is General 40th Grade (Above 100000 Reputation Level)aitken325i User rank is General 40th Grade (Above 100000 Reputation Level)aitken325i User rank is General 40th Grade (Above 100000 Reputation Level)aitken325i User rank is General 40th Grade (Above 100000 Reputation Level)aitken325i User rank is General 40th Grade (Above 100000 Reputation Level)aitken325i User rank is General 40th Grade (Above 100000 Reputation Level)aitken325i User rank is General 40th Grade (Above 100000 Reputation Level)aitken325i User rank is General 40th Grade (Above 100000 Reputation Level)aitken325i User rank is General 40th Grade (Above 100000 Reputation Level)aitken325i User rank is General 40th Grade (Above 100000 Reputation Level)aitken325i User rank is General 40th Grade (Above 100000 Reputation Level)aitken325i User rank is General 40th Grade (Above 100000 Reputation Level)  Folding Points: 10110 Folding Title: Novice Folder
Time spent in forums: 5 Months 4 Weeks 17 h 36 m 33 sec
Reputation Power: 3643
I've had a wee read through the manual and I don't think you'll be able to do that from what I understand. I use WinRAR but not to that extent.

Think that maybe your only option would be to create a little application of your own to achieve this if you can. Failing that, have a search around - there may already be utilities created that will let you achieve this.

Reply With Quote
  #9  
Old May 8th, 2006, 04:07 PM
Profftnt's Avatar
Profftnt Profftnt is offline
They call me geek here........
Dev Shed Frequenter (2500 - 2999 posts)
 
Join Date: Nov 2004
Location: 118 Computer Geek, UK
Posts: 2,976 Profftnt User rank is Major (30000 - 40000 Reputation Level)Profftnt User rank is Major (30000 - 40000 Reputation Level)Profftnt User rank is Major (30000 - 40000 Reputation Level)Profftnt User rank is Major (30000 - 40000 Reputation Level)Profftnt User rank is Major (30000 - 40000 Reputation Level)Profftnt User rank is Major (30000 - 40000 Reputation Level)Profftnt User rank is Major (30000 - 40000 Reputation Level)Profftnt User rank is Major (30000 - 40000 Reputation Level)Profftnt User rank is Major (30000 - 40000 Reputation Level)Profftnt User rank is Major (30000 - 40000 Reputation Level)  Folding Points: 32057 Folding Title: Starter FolderFolding Points: 32057 Folding Title: Starter Folder
Time spent in forums: 2 Weeks 22 h 49 m 36 sec
Reputation Power: 385
Quote:
Originally Posted by desmou
I can't say I know how to take advantage of that type of compression at all, perhaps I should take a look at the manual thanks
Best thing about 7-zip is that it is open source.

Reply With Quote
Reply

Viewing: Dev Shed ForumsOperating SystemsWindows Help > WinRaR help


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.

© 2003-2012 by Developer Shed. All rights reserved. DS Cluster 5 - Follow our Sitemap