ZTree.com  | ZEN  | About...  

 Index   Back

[Tip] PowerArchiver v4.01 for tar.gz: creation needs -k   [Tip]

By: Oliver Pretzel       
Date: Apr 16,2015 at 12:20
In Response to: [Tip] PowerArchiver v4.01 for tar.gz: creation needs -k (Hartmut Schneider)

> However there's a date problem:
> for compressing files, ARCHIVER.BB_ suggests the syntax size="3" color="#003399"> PACOMP.EXE -a -c2 -w @list for
> the Add/create command.
> I had to add the option -k
> 'keep orginal archive file date' to the 'create'
> lines 8,9 to keep the source files' dates.
> Without the -k option, each file was archived with the current
> system time as modify date/time, which is bad.
> [Q]
> Is that -k option the right switch to keep the source files' dates?

I have never tried to generate tar archives, so have not come across this problem.
I always thought -k meant do not change the date of the archive itself, but it looks as though this is necessary and should be added to the default settings.
Thank you Hartmut.


PS I've checked with pacomp and a ZIP archive and -k is indeed necessary to preserve
the times of the added files.

Thread locked

Messages in this Thread

94,954 Postings in 11,969 Threads, 349 registered users, 24 users online (0 registered, 24 guests)
Index | Admin contact |   Forum Time: May 25, 2020 - 12:25 am EDT  |  Hits:31,223,776  (123 Today )
RSS Feed