Among many useful features, 7-Zip allows to synchronizes files when adding them to an archive.
However, this is only half-useful because it not possible to do such operation when extracting files.
"Extract only newer files" was a feature requested since 2005, but still in an "Open" state.
Many messages have been posted here on this topics but at the moment the feature is not even planned.
When extracting files, the check for overwrite was alredy implemented time ago, I suppose that a check for file date should not require lot of change in the code.
Extracting only newer files allows, for instance, to effectively "synchronize" large remote folders by transfering (or transporting) a much smaller 7-zip archive.
However, I really wonder if this feature will ever be planned for future release.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
It seems no change yet.
When I remember the old good CLI JAR or ARJ archievers from 1990s with zillions of options.......
7-zip is the great file compressor, but as an archiever - it sucks.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Can't believe 7zip can't handle obvious "newer" extraction which pkunzip already did in the 80s.
Got here looking for that function. It's stupidly crippled, and makes it useless.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I keep visiting this (and many other similar threads) over time, but nothing happens. There isn't even a reply anymore, after one in 2006 that "it's being worked on". It's quite disappointing because this is a top priority feature for an archiver that is to be used for backup/restore and without it, 7z is limiting itself to a compression utility.
Another hope for 2021..
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
This is used for updating an archive, it's not a new option/switch. But if you manage to magick-it to do the same for extraction..do tell..
I think I have tried it before commenting/reading here, but can't be sure.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Bump, author should take notice of this essential missing feature, and easy to implement, just add "n" to: -ao{a|s|t|u|n} the "n" should be overwrite mode "only if newer", and the rest as usual
Last edit: isidroco 2024-08-05
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Among many useful features, 7-Zip allows to synchronizes files when adding them to an archive.
However, this is only half-useful because it not possible to do such operation when extracting files.
"Extract only newer files" was a feature requested since 2005, but still in an "Open" state.
Many messages have been posted here on this topics but at the moment the feature is not even planned.
When extracting files, the check for overwrite was alredy implemented time ago, I suppose that a check for file date should not require lot of change in the code.
Extracting only newer files allows, for instance, to effectively "synchronize" large remote folders by transfering (or transporting) a much smaller 7-zip archive.
However, I really wonder if this feature will ever be planned for future release.
is there an update on this status?
or are we doomed to press the file into the "7z" where its possible to over write if newer, and then extract the files?
there existed in past (version 4.57) such binary … in fact i have it
unfortunately i don't know who is author, nor there is source code
hence why i can't publish it cause it don't come from public source
has fully working
"-n: extract only new or changed files (skip old files)"
i tried to search out who made it but w/o any success …
ofcourse it don't support new 7z formats :(
this binary is from January 2008, if that helps anything … (and yes it's really sad this feature isn't part of 7z base so long)
It seems no change yet.
When I remember the old good CLI JAR or ARJ archievers from 1990s with zillions of options.......
7-zip is the great file compressor, but as an archiever - it sucks.
Can't believe 7zip can't handle obvious "newer" extraction which pkunzip already did in the 80s.
Got here looking for that function. It's stupidly crippled, and makes it useless.
I keep visiting this (and many other similar threads) over time, but nothing happens. There isn't even a reply anymore, after one in 2006 that "it's being worked on". It's quite disappointing because this is a top priority feature for an archiver that is to be used for backup/restore and without it, 7z is limiting itself to a compression utility.
Another hope for 2021..
I too would like to know the status of this feature. 15 years being worked on?...
Last edit: John Secret 2021-01-26
Unbelievably enough I went in, exactly to ask this.
I hope it is implemented eventually.
Well it has been far too long without any comment on this, so I think it is not going to happen.
Last edit: NLS 2021-01-26
disappointed to see this basic feature missing
You may try smartversion (or rsync) to effectively "synchronize" large remote folders. Smartversion have executables for multiple OSs.
I use total commander for that. I need 7zip for Batch use, and now it's crippled without the feature of overwriting older files.
Just in case someone waits for the option implementation.
I just found out that
bsdtar
supports 7zip format and also has the option-k
:I just tried it, and it seems to work fine (although it prints the filename in question in both cases: when it's new and also when it already exists).
I use it in MSYS2 environment (which is Cygwin-like), which may not do for other person.
But -k doesn´t update with newer files.
But just found this wich could work will test it later
https://documentation.help/7-Zip/update1.htm
This is used for updating an archive, it's not a new option/switch. But if you manage to magick-it to do the same for extraction..do tell..
I think I have tried it before commenting/reading here, but can't be sure.
Bump, author should take notice of this essential missing feature, and easy to implement, just add "n" to: -ao{a|s|t|u|n} the "n" should be overwrite mode "only if newer", and the rest as usual
Last edit: isidroco 2024-08-05