ZIPFROMLIST: suggestion for a new parameter
Moderators: Hacker, petermad, Stefan2, white
ZIPFROMLIST: suggestion for a new parameter
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
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
- ghisler(Author)
- Site Admin
- Posts: 50386
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: ZIPFROMLIST: suggestion for a new parameter
I will consider it, thanks for your suggestion.
You can turn off CRC check only globally:
wincmd.ini
[packer]
VerifyZIP=0
You can turn off CRC check only globally:
wincmd.ini
[packer]
VerifyZIP=0
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: ZIPFROMLIST: suggestion for a new parameter
Thank you for considering.
True, VerifyZIP=0 would be an option. However, a temporary deactivation for ZIPFROMLIST would be great.
True, VerifyZIP=0 would be an option. However, a temporary deactivation for ZIPFROMLIST would be great.
Re: ZIPFROMLIST: suggestion for a new parameter
bump "parameter for overwrite if source is newer, etc." for 10.52
That would be so helpful for incremental backups...
That would be so helpful for incremental backups...
Re: ZIPFROMLIST: suggestion for a new parameter
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! 👎
Re: ZIPFROMLIST: suggestion for a new parameter
bump for TC 11.00
A ZIPFROMLIST parameter to "overwrite if source is newer" would still be so helpful for incremental backups...
A ZIPFROMLIST parameter to "overwrite if source is newer" would still be so helpful for incremental backups...
- ghisler(Author)
- Site Admin
- Posts: 50386
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: ZIPFROMLIST: suggestion for a new parameter
ZIPFROMLIST does not support the 7zip format. Just call 7z.exe directly from a button.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: ZIPFROMLIST: suggestion for a new parameter
??? Confusion ???ghisler(Author) wrote: 2023-05-25, 09:36 UTC ZIPFROMLIST does not support the 7zip format. Just call 7z.exe directly from a button.
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.)
- ghisler(Author)
- Site Admin
- Posts: 50386
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: ZIPFROMLIST: suggestion for a new parameter
You wrote "(from 7-zip help)". These parameters are for 7-zip.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: ZIPFROMLIST: suggestion for a new parameter
That was *Fla$her. I never wrote about 7-zip.ghisler(Author) wrote: 2023-05-26, 08:31 UTC You wrote "(from 7-zip help)". These parameters are for 7-zip.
Re: ZIPFROMLIST: suggestion for a new parameter
Is there any news on the suggestion to add an "overwrite if source is newer" parameter to ZIPFROMLIST?
Bump for next TC11 beta...
Bump for next TC11 beta...
- ghisler(Author)
- Site Admin
- Posts: 50386
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: ZIPFROMLIST: suggestion for a new parameter
OK, I will add two new parameters:
-os Skip all
-on Overwrite all older
-os Skip all
-on Overwrite all older
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: ZIPFROMLIST: suggestion for a new parameter
Great! Thank you. This helps a lot!
Re: ZIPFROMLIST: suggestion for a new parameter
TC11.00b9 x32
I have tested some of my typical actions with the update
and it works as expected. This is very helpful.
@ghisler: Thank you for adding the new parameters!
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)
@ghisler: Thank you for adding the new parameters!
- ghisler(Author)
- Site Admin
- Posts: 50386
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: ZIPFROMLIST: suggestion for a new parameter
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
https://www.ghisler.com