-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Am I using the extract command wrong? #13
Comments
Nothing. Long version: when extracting with a single "-to" 54.11 check if the output folder is writeable (with enough space), before starting to output something (unless a -space switch is present) But, if you enter a FILE as a -to, 54.11 make a FOLDER with the same name of the file. Thank you very much Extract to nonexistent pathOn 54.10
On zpaq 7.15
note: WARNINGSOn 54.11
note: ERRORSNot enough free space, on zpaqfranz
on zpaq fake OK extraction (failed by not enough free space)
|
Ok so I tried running the same command(
I will attach the output of |
This time not my fault :) If you want to extract a SINGLE file you must -to... to a single file
Or you can extract everything to a folder
|
If you want to extract a single file to a folder, in fact, you cannot (I am working on this)
or
So I will do a "magic": This could be useful? |
Yeah that was my bad. You have fixed the issue for me. A final question about the |
Well... no
This will not
The 12.c (attached) handle a "magic" situation
will write a "myfakefolder" FILE (with the binary data of zpaqfranz.exe) This
goes to (note the very last \)
zpaq 7.15, in this case, will make the destination folder, but without output (#1st run)
(note: all OK, not very true)
I hope zpaqfranz "new" behavior is better and more consistent with a rather frequent operation (single file extraction) One last warning: beware of case-sensitiveness, you must be careful |
Thank you! It works fine on my end. Imo you should keep case-sensitiveness since I don't really see a benefit in removing it. |
I'm going to close the issue now. |
Hi.
I want to extract a specific folder (recursively) from an archive into a new folder:
Regardless if
Am I doing something wrong here? |
You should do
(no / after AutoIt) This is the very infamous last \ on Windows command line
Short version: yes, \ does matter Thanks for signaling |
Mid-sized version
But works fine without "
If you are curious I can make the "spiegone" (aka: long explanation), I choose to prefer the " to maintain spaces (aka: "pippo pluto") |
Thanks for the clarification and the explanation! You don't need to do a long version :) It works fine here as well if I leave out the final slash for the pattern / path |
So you'll get... the "intermediate"... version :)
The right way is a double backslash (look carefully at prova)
But almost none, even myself, remember this rule (the double backslash) If you have any suggestion for zpaqfranz please tell my |
I'm using Windows since Win 95 but I've never stumbled upon that one^^ Oh, I have a suggestion for zpaqfranz but I don't think you'll implement that :) It doesn't store all metadata (like ACLs) and that's fine for me but there is one thing that I really don't like... This may be a rather normal thing on linux derivates (not storing created dates) but it isn't on Windows. E.g. imagine you have a file "Letters to girlfriend.docx". Any chance that you include that date when adding to an archive and set a file / folders date to that one when extracting from it? At least via an option like |
A really hard request, indeed :-) On Windows there are 3 different dates: Only the last is stored as now Anyway I can do (even if it will be a mess) |
PS working as now (aka: choosing the hash function) is too hard for the new function (aka: require a LOT of work) |
Mh. Afaik you can only extract either all versions or only a single one. If that's true I'd really like to see the Just a few suggestions:
I would use the second example extensively, e.g. just extract the last 5 versions, see which one I need from them... When I start using zpaqfranz for real backups (with a version that supports lpCreationTime) I'll probably stumble about more things that may be convenient... Regarding your last question about if that would be enough: |
You can use my old GUI (pakka) :-) |
No, I wouldn't want to use a GUI for it; in the end I'll script everything anyway :) |
In the attached pre-build (non finished! extract only added files) you will find
Is it OK for you? |
Works perfectly fine, great addition, thanks! |
Beware, this will extract the "embedded" files into the versions. DO NOT extract everything. A really full extract will need to make I thought it was to archive the sources and quickly extract the differences. |
For example, if you want to get what is changed in the compagnie.pas file, from 100 to 1000 version, this will work
|
Ok, noted |
55_16h.zip
Do you like? |
Looks great! |
I'll finish tomorrow |
Let me work with it for a while when it's released. I'll get back to you if I find things to improve :) |
Released 55.16 now |
A lot of changes :) Nice to see that there is still a lot of room for improvement! I've used -windate (for adding and extracting) now and I've noticed a small glitch on extracting... It seems you're setting the modified time of extracted folders (it doesn't happen with files) with the value of the created time as well. Can you check that please? |
It is a feature :) |
No, it's a bug :) The modified time for folders should be set (if they were stored with -windate previously) to their former modified time, not the stored creation time |
For folders a lot of work is needed, with some space wasted. I am not 100% convinced |
I know (that this isn't an easy task to do it right) but please invest that time. If you need to restore a folder structure you'll want to get it in the original state, not in some "ok, modified times are fu****" up state :) Thanks! |
So im trying to use
.\zpaqfranz.exe x D:\ZPAQ.zpaq D:/Restore/zpaqfranz.exe -to "D:\SW" -until 2
in powershell, since my archive is D:\ZPAQ.zpaq. In that archive is the fileD:/Restore/zpaqfranz.exe
and I want to extract it to D:\SW. However the output I get iszpaqfranz v54.11-experimental (HW BLAKE3), SFX64 v52.15, compiled Dec 28 2021
D:/ZPAQ.zpaq -until 2:
2 versions, 15.396 files, 147.586 fragments, 7.943.033.988 bytes (7.40 GB)
Non-latin (UTF-8) 4
000001 ?existing files skipped (-force overwrites).
`Extracting 0 bytes (0.00 B) in 0 files -threads 8``
What am I doing wrong?
The text was updated successfully, but these errors were encountered: