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.

Oliver

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

447 views      
Thread locked
 

Messages in this Thread

 
94,494 Postings in 11,923 Threads, 348 registered users, 10 users online (1 registered, 9 guests)
Index | Admin contact |   Forum Time: Oct 22, 2019 - 2:52 pm EDT  |  Hits:28,794,568  (3,112 Today )
RSS Feed