ZIPFROMLIST: suggestion for a new parameter

Here you can propose new features, make suggestions etc.

Moderators: white, Hacker, petermad, Stefan2

User avatar
funkymonk
Senior Member
Senior Member
Posts: 410
Joined: 2013-12-04, 09:56 UTC

ZIPFROMLIST: suggestion for a new parameter

Post by *funkymonk »

Hi

ZIPFROMLIST already supports the parameter -o for "overwrite without asking".
For incremental backups it would be great to also have a parameter for "overwrite if source is newer" and other kinds of overwrite options.

How about -o (always overwrite) -on (never overwrite) -oo (overwrite if older) -ol (overwrite if larger) etc. ?
Or is there any other way to achieve the same effect?

(BTW: A parameter to skip the CRC check would also be nice...)

BR
funkymonk
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: ZIPFROMLIST: suggestion for a new parameter

Post by *ghisler(Author) »

I will consider it, thanks for your suggestion.

You can turn off CRC check only globally:
wincmd.ini
[packer]
VerifyZIP=0
Author of Total Commander
https://www.ghisler.com
User avatar
funkymonk
Senior Member
Senior Member
Posts: 410
Joined: 2013-12-04, 09:56 UTC

Re: ZIPFROMLIST: suggestion for a new parameter

Post by *funkymonk »

Thank you for considering.

True, VerifyZIP=0 would be an option. However, a temporary deactivation for ZIPFROMLIST would be great.
User avatar
funkymonk
Senior Member
Senior Member
Posts: 410
Joined: 2013-12-04, 09:56 UTC

Re: ZIPFROMLIST: suggestion for a new parameter

Post by *funkymonk »

bump "parameter for overwrite if source is newer, etc." for 10.52
That would be so helpful for incremental backups...
Fla$her
Power Member
Power Member
Posts: 2244
Joined: 2020-01-18, 04:03 UTC

Re: ZIPFROMLIST: suggestion for a new parameter

Post by *Fla$her »

That's what's really missing here (from 7-zip help):
fb={NumFastBytes}
Sets the number of fast bytes for the Deflate/Deflate64 encoder. It can be in the range from 3 to 258 (257 for Deflate64). Usually, a big number gives a little bit better compression ratio and a slower compression process. A large fast bytes parameter can significantly increase the compression ratio for files which contain long identical sequences of bytes.

mt=[off | on | {N}]
Sets multithread mode. If you have a multiprocessor or multicore system, you can get a speed increase with this switch. This option affects only compression (with any method) and decompression of BZip2 streams. Each thread in the multithread mode uses 32 MB of RAM for buffering. If you specify {N}, 7-Zip tries to use N threads.
Overquoting is evil! 👎
User avatar
funkymonk
Senior Member
Senior Member
Posts: 410
Joined: 2013-12-04, 09:56 UTC

Re: ZIPFROMLIST: suggestion for a new parameter

Post by *funkymonk »

bump for TC 11.00

A ZIPFROMLIST parameter to "overwrite if source is newer" would still be so helpful for incremental backups...
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: ZIPFROMLIST: suggestion for a new parameter

Post by *ghisler(Author) »

ZIPFROMLIST does not support the 7zip format. Just call 7z.exe directly from a button.
Author of Total Commander
https://www.ghisler.com
User avatar
funkymonk
Senior Member
Senior Member
Posts: 410
Joined: 2013-12-04, 09:56 UTC

Re: ZIPFROMLIST: suggestion for a new parameter

Post by *funkymonk »

ghisler(Author) wrote: 2023-05-25, 09:36 UTC ZIPFROMLIST does not support the 7zip format. Just call 7z.exe directly from a button.
??? Confusion ???

The suggestion is not about 7zip at all!

It's just about adding a new parameter to ZIPFROMLIST to "overwrite if source is newer"...
(zip is perfectly fine.)
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: ZIPFROMLIST: suggestion for a new parameter

Post by *ghisler(Author) »

You wrote "(from 7-zip help)". These parameters are for 7-zip.
Author of Total Commander
https://www.ghisler.com
User avatar
funkymonk
Senior Member
Senior Member
Posts: 410
Joined: 2013-12-04, 09:56 UTC

Re: ZIPFROMLIST: suggestion for a new parameter

Post by *funkymonk »

ghisler(Author) wrote: 2023-05-26, 08:31 UTC You wrote "(from 7-zip help)". These parameters are for 7-zip.
That was *Fla$her. I never wrote about 7-zip.
User avatar
funkymonk
Senior Member
Senior Member
Posts: 410
Joined: 2013-12-04, 09:56 UTC

Re: ZIPFROMLIST: suggestion for a new parameter

Post by *funkymonk »

Is there any news on the suggestion to add an "overwrite if source is newer" parameter to ZIPFROMLIST?

Bump for next TC11 beta...
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: ZIPFROMLIST: suggestion for a new parameter

Post by *ghisler(Author) »

OK, I will add two new parameters:
-os Skip all
-on Overwrite all older
Author of Total Commander
https://www.ghisler.com
User avatar
funkymonk
Senior Member
Senior Member
Posts: 410
Joined: 2013-12-04, 09:56 UTC

Re: ZIPFROMLIST: suggestion for a new parameter

Post by *funkymonk »

Great! Thank you. This helps a lot!
User avatar
funkymonk
Senior Member
Senior Member
Posts: 410
Joined: 2013-12-04, 09:56 UTC

Re: ZIPFROMLIST: suggestion for a new parameter

Post by *funkymonk »

TC11.00b9 x32

I have tested some of my typical actions with the update

Code: Select all

28.06.23 Added: ZIPFROMLIST now supports overwrite flags: -os=skip all, -on=pack all newer (32/64)
and it works as expected. This is very helpful.

@ghisler: Thank you for adding the new parameters!
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: ZIPFROMLIST: suggestion for a new parameter

Post by *ghisler(Author) »

Thanks for suggesting it! I was considering using -o1..-o9, but this would collide with -0..-9 for the compression when used together in one parameter.
Author of Total Commander
https://www.ghisler.com
Post Reply