PowerArchiver Home

  #1  
Old 03-18-2010, 07:34 AM
Badders Badders is offline
Senior Members
 
Join Date: Mar 2010
Posts: 44
Thanks: 3
Thanked 6 Times in 6 Posts
Definition of Add, Update, Freshen

Hi,

Could someone define exactly what -a, -u and -f do in PACL 6?

This is in respect to the following?

File not in archive
File in archive but with timestamp same as on disk
File in archive but with timestamp earlier than on disk
File in archive but with timestamp later than on disk

Here are my thoughts:

-a Adds new files to archive (what happens to files already in the archive? Do they get updated? Only if they're different? Only if they're newer?)

-u same as -a but doesn't add new ones

-f same as -u but only if they are newer

Thanks,
Badders
Reply With Quote
  #2  
Old 03-18-2010, 08:27 AM
TBGBe's Avatar
TBGBe TBGBe is offline
Still Mainly Lurking
 
Join Date: Jul 2001
Location: UK
Posts: 2,151
Thanks: 6
Thanked 102 Times in 94 Posts
Quote:
Originally Posted by Badders View Post
-a Adds new files to archive (what happens to files already in the archive? Do they get updated? Only if they're different? Only if they're newer?)

-u same as -a but doesn't add new ones

-f same as -u but only if they are newer
I (almost) agree...
-a : add : Adds new and replaces any existing (no checks)

-u : update : re-adds only existing files (no checks)

-h : freshen : only adds existing which have been modified or later date than in archive.

-f : folders : don't add empty folders
__________________
Terry

WinXP SP3
Reply With Quote
The Following User Says Thank You to TBGBe For This Useful Post:
spwolf (03-18-2010)
  #3  
Old 03-18-2010, 11:16 AM
Badders Badders is offline
Senior Members
 
Join Date: Mar 2010
Posts: 44
Thanks: 3
Thanked 6 Times in 6 Posts
Quote:
-f : folders : don't add empty folders
(makes mental note - don't use command parameters of competitors products )

So, I guess my real question is:

Is it possible to freshen the existing files in the archive and add any new files?
Reply With Quote
  #4  
Old 03-18-2010, 12:16 PM
TBGBe's Avatar
TBGBe TBGBe is offline
Still Mainly Lurking
 
Join Date: Jul 2001
Location: UK
Posts: 2,151
Thanks: 6
Thanked 102 Times in 94 Posts
That is the same result as add - it won't remove existing files if that is what you're concerned about.
__________________
Terry

WinXP SP3
Reply With Quote
  #5  
Old 03-18-2010, 01:31 PM
Badders Badders is offline
Senior Members
 
Join Date: Mar 2010
Posts: 44
Thanks: 3
Thanked 6 Times in 6 Posts
It's not quite the same as an add. I want it to add new files - yes, but not re-archive files which haven't changed.

I realise it won't remove any files from the archive.

The background is that I have many large database files in the archive which don't change very often. Occasionally a new database comes along which needs to be added to the archive. I don't want it to spend time needlessly re-archiving all the other databases which haven't changed. The database files are between 5GB and 25GB but compact down to a couple of GB.

I don't mind running PACOMP twice. Once with -h and once with -an (new option for (a)dd (n)ew only).
Reply With Quote
  #6  
Old 03-19-2010, 08:01 AM
TBGBe's Avatar
TBGBe TBGBe is offline
Still Mainly Lurking
 
Join Date: Jul 2001
Location: UK
Posts: 2,151
Thanks: 6
Thanked 102 Times in 94 Posts
Quote:
Originally Posted by Badders View Post
... I don't want it to spend time needlessly re-archiving all the other databases which haven't changed. The database files are between 5GB and 25GB but compact down to a couple of GB.
Why not use the "archive flags" control ( -aa ) - in combination with "clear flag" (-ca)?
Then if a file hasn't changed the flag will not be set and PACL won't re-compress it.
__________________
Terry

WinXP SP3
Reply With Quote
The Following User Says Thank You to TBGBe For This Useful Post:
spwolf (03-19-2010)
  #7  
Old 03-19-2010, 01:00 PM
spwolf's Avatar
spwolf spwolf is offline
Administrator
 
Join Date: Jun 2001
Posts: 7,823
Thanks: 682
Thanked 207 Times in 192 Posts
using archive flags is the best way to do any update.
__________________
ConeXware, Inc.
latest PA release info on Facebook, Twitter | Follow us and win free PowerArchiver.
Reply With Quote
  #8  
Old 03-22-2010, 06:33 AM
Badders Badders is offline
Senior Members
 
Join Date: Mar 2010
Posts: 44
Thanks: 3
Thanked 6 Times in 6 Posts
Quote:
Originally Posted by spwolf View Post
using archive flags is the best way to do any update.
True - that's certainly an option. Thanks.
Reply With Quote
Reply

Bookmarks

Thread Tools
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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Don't want to see the 'update' window when there's no update(!) ferpferpferp Wishlist 3 07-18-2008 05:18 AM
PA doesn't ask for update after "click View button and update some text" taotoon Tech Support 3 02-01-2008 01:59 PM
Update Milrite Wishlist 1 02-24-2007 09:13 PM
Able to do update after update guido Wishlist 3 05-05-2006 04:12 PM
Freshen Existing Files Only cmb Wishlist 0 01-19-2006 05:47 PM


All times are GMT -5. The time now is 08:28 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.