Activity for f2d2

  • f2d2 f2d2 posted a comment on discussion Open Discussion

    Yes, a really slight improvement, I see about 0.1% smaller results. I.e. for 5-20 MB archives I get 5-20 KB difference between eDecoder v1.20.6 and 1.20.7. Still better, I think, so thanks. I guess, efficiency of finding similar words and sequences is lowered by all those line-breaks at random points, like in the middle of UTF-8 code-point sequences. Then again, if there must be additional meta info to restore all the breaks in the right places, who knows how much it would add instead. Of other things...

  • f2d2 f2d2 posted a comment on discussion Open Discussion

    "Wrong password?" seems to be a guess, program just sees garbage data or some hash mismatch and considers it a Fatal Error. For the more basic question of checking error code, which you may already know, see: https://superuser.com/questions/194662/how-to-check-the-exit-code-of-the-last-command-in-batch-file https://stackoverflow.com/questions/334879/how-do-i-get-the-application-exit-code-from-a-windows-command-line

  • f2d2 f2d2 posted a comment on discussion Open Discussion

    I tried using eSplitter with Copy method (no compression), and noticed that files with Content-Transfer-Encoding: quoted-printable in MHT are stored as is. I wondered if converting text data on the fly, like base64, would have any effect on compression. Compression itself seems to vary in efficiency on encoded vs decoded text data, but overall, looking relative to encoded source size, compresssion of decoded result always wins. Some of my test results: File, LZMA2, -mx9 Compressed, bytes Uncompressed,...

  • f2d2 f2d2 posted a comment on discussion Open Discussion

    Current progress layout looks clean, but not always clear on what is exactly what on the right-side stats of 7zG progress window. It could be made into a table without ambiguity, for example: - Read Write Ratio Done 1 MB 1 MB 100 % Total 2 MB 2 MB 100 % Speed 3 MB/s 3 MB/s - Notes: Ratio is W/R for compression, R/W for decompression (naturally). When Total Write (i.e. compressed result) and Ratio are unknown, show blank or a dash. I think 7-zip already does this in some places, or maybe that was...

  • f2d2 f2d2 modified a comment on discussion Open Discussion

    7z.exe l *.mht -slt with eDecoder v1.20.6 shows full Content location, thank you.

  • f2d2 f2d2 posted a comment on discussion Open Discussion

    7z.exe l *.mht -slt with eDecoder v1.20.6 shows full Content-location, thank you.

  • f2d2 f2d2 posted a comment on discussion Open Discussion

    I'm trying to get a simple list of filenames inside mht archives with a command line. Tried with eDecoder v1.20.5. 1) 7z.exe l *.mht -ba would work with some stripping, but truncates too long names (7zFM shows them untruncated). 2) 7z.exe l *.mht -slt does not include any names at all, only has Position number, Content type, etc. Can you add filename and/or the full Content-location in -slt output, please?

  • f2d2 f2d2 posted a comment on discussion Open Discussion

    I second this question. I mostly need it for ZSTD and such cases, that can fully load all my CPU cores, and some other programs (low priority for their other reasons) become very slowly responding to user controls, until I manually enable Background mode in 7zG window. I call 7zG multiple times in a row from a script, so I want Background mode by default.

  • f2d2 f2d2 posted a comment on discussion Open Discussion

    What are you archive files named exactly? Something like "filename.7z.001" ... "filename.7z.NNN"? This is what I get when compressing some file using 7-zip and its file-splitting feature. What do you expect each archive to contain? A part of supposedly single big file splitted upon compression?

  • f2d2 f2d2 modified a comment on discussion Open Discussion

    I did not check 7-zip source code, but I'd think that quite a number of Windows-reserved names are treated the same for the same reason. https://stackoverflow.com/a/122431 https://learn.microsoft.com/en-us/windows/win32/fileio/naming-a-file 7-zip asks user when some file already exists, giving choice to autorename, skip, etc. I also think it would be better to give choice here, "skip or autorename" at least, instead of silent rename or error.

  • f2d2 f2d2 posted a comment on discussion Open Discussion

    I did not check 7-zip source code, but I'd think that quite a number of Windows-reserved names are treated the same for the same reason. https://stackoverflow.com/a/122431 https://learn.microsoft.com/en-us/windows/win32/fileio/naming-a-file 7-zip asks to rename files when some file already exists, giving choice to autorename, skip, etc. I also think it would be better to give choice here, "skip or autorename" at least, instead of silent rename or error.

  • f2d2 f2d2 modified a comment on discussion Open Discussion

    Did you mean using 7zip? From Windows you can use a command line like this: for /R "path\to\root\folder\with\isos" %F in (*.iso) do "%PROGRAMFILES%\7-Zip\7z.exe" x "%F" "-oPath\to\output\folder\%~nF" -- "your file name.ext" Similar command on Linux (using p7zip): find "path/to/root/folder/with/isos" -name '*.iso' -exec 7z x "{}" "-oPath/to/output/folder/{}" -- "your file name.ext" \; This will extract each file to a subfolder named as each archive.

  • f2d2 f2d2 modified a comment on discussion Open Discussion

    Sample files in ZSTD (lesser archive, by ~ 100 KB): https://mega.nz/file/qVJ1BIzJ#F0P9wX7dsKYtam8rgkk_3PyAxKUSpPt6N5VC_jU8tPk Same files in LZMA2 (more compatible, just in case): https://mega.nz/file/CBRXTT7R#v1JhcFzmdnYACoC0s0BJaCUoDryV2ca9-a4lxzTyr08 I gathered some files with different details from various dates, not sure if all possible variants. Biggest file contains a video/mp4. Some observations: <image>, <link>, <video>, etc may have base64-encoded content in their src or href. <script> (JS)...

  • f2d2 f2d2 modified a comment on discussion Open Discussion

    Sample files in ZSTD (lesser archive, by ~ 100 KB): https://mega.nz/file/qVJ1BIzJ#F0P9wX7dsKYtam8rgkk_3PyAxKUSpPt6N5VC_jU8tPk Same files in LZMA2 (more compatible, just in case): https://mega.nz/file/CBRXTT7R#v1JhcFzmdnYACoC0s0BJaCUoDryV2ca9-a4lxzTyr08 I gathered some files with different details from various dates, not sure if all possible variants. Biggest file contains a video/mp4. Some observations: <image>, <link>, <video>, etc may have base64-encoded content in their src or href. <script> (JS)...

  • f2d2 f2d2 posted a comment on discussion Open Discussion

    Sample files in ZSTD (lesser archive, by ~ 100 KB): https://mega.nz/file/qVJ1BIzJ#F0P9wX7dsKYtam8rgkk_3PyAxKUSpPt6N5VC_jU8tPk Same files in LZMA2 (more compatible, just in case): https://mega.nz/file/CBRXTT7R#v1JhcFzmdnYACoC0s0BJaCUoDryV2ca9-a4lxzTyr08 I gathered some files with different details from various dates, not sure if all possible variants. Biggest file contains a video/mp4. Some observations: <image>, <link>, <video>, etc may have base64-encoded content in their src or href. <script> (JS)...

  • f2d2 f2d2 modified a comment on discussion Help

    You can try command line scripting, utilizing 7-zip's return status codes. For example, in Windows cmd: for %F in (*.zip) do "%PROGRAMFILES%\7-Zip\7z.exe" t "%F" || rename "%F" "%F.BAD_FILE" Unlike 7zFM.exe or 7zG.exe, which can leave a window with errors waiting to be closed by user, 7z.exe is a command line tool and after completing a test it will just return status code and close.

  • f2d2 f2d2 posted a comment on discussion Open Discussion

    Sorry for delay, I didn't have notification, but stumbled on this now. I tried the latest eDecoder v1.20.3 with 7-Zip v21.07. I see no effect of Open Inside (Ctrl+PgDn) from 7zFM on any of several randomly picked HTML files saved with Save Page WE in 2017 and 2022. Context menu in Explorer also only shows Add or CRC options. MHT files work as expected.

  • f2d2 f2d2 modified a comment on discussion Help

    Command line 7z has only two extract modes: e command - extract files ignoring their paths to output folder. x command - extract files using their full stored paths. The only way seems to use a move command after 7z to drop the subpath, like this: "%PROGRAMFILES%\7-Zip\7z.exe" x "source\archive.7z" "-otarget\folder" -- "inside\archive\subfolder" and then move "target\folder\inside\archive\subfolder" "target\folder\" This will give you a "target\folder\subfolder" extracted. Or use move in a loop (move...

  • f2d2 f2d2 modified a comment on discussion Help

    There is a help file (7-zip.chm) in 7-zip installation folder, that describes all supported command options. I am not sure if you are trying to automate something here, but a one-use command could look like this: "%PROGRAMFILES%\7-Zip\7z.exe" x "C:\123\4.zip" "-oC:\123\4" -- 5.txt 6.wav

  • f2d2 f2d2 posted a comment on discussion Open Discussion

    Did you mean using 7zip? From Windows you can use a command line like this: for /R "path\to\root\folder\with\isos" %F in (*.iso) do "%PROGRAMFILES%\7-Zip\7z.exe" x "%F" "-opath\to\output\folder\%~nF" -- "your file name.ext" Similar command on Linux (using p7zip): find "path\to\root\folder\with\isos" -name '*.iso' -exec 7z x "{}" "-opath\to\output\folder\{}" -- "your file name.ext" \; This will extract each file to a subfolder named as each archive.

  • f2d2 f2d2 posted a comment on discussion Help

    https://superuser.com/questions/667593/is-it-possible-to-run-a-larger-than-4gb-exe TLDR - not possible. But you can make a split-file archive. It will run as long as exe part (or simply each part) is less than 4 GiB.

  • f2d2 f2d2 modified a comment on discussion Help

    There is a help file (7-zip.chm) in 7-zip installation folder, that describes all supported command options. I am not sure if you are trying to automate something here, but a one-use command could look like this: "programs\7-Zip\7z.exe" x "C:\123\4.zip" "-oC:\123\4" -- 5.txt 6.wav

  • f2d2 f2d2 posted a comment on discussion Help

    There is a help file in 7-zip installation folder, that describes all supported command options. I am not sure if you are trying to automate something here, but a one-use command could look like this: "programs\7-Zip\7z.exe" x "C:\123\4.zip" "-oC:\123\4" -- 5.txt 6.wav

  • f2d2 f2d2 posted a comment on discussion Help

    See answer here: https://sourceforge.net/p/sevenzip/discussion/45798/thread/662ecd6790/

  • f2d2 f2d2 modified a comment on discussion Help

    Command line 7z has only two extract modes: e command - extract files ignoring their paths to output folder. x command - extract files using their full stored paths. The only way seems to use a move command after 7z to drop the subpath, like this: "programs\7-Zip\7z.exe" x "source\archive.7z" "-otarget\folder" -- "inside\archive\subfolder" and then move "target\folder\inside\archive\subfolder" "target\folder\" This will give you a "target\folder\subfolder" extracted. Or use move in a loop (move cannot...

  • f2d2 f2d2 modified a comment on discussion Open Discussion

    Option 1: Wrap it into a .BAT script containing command like this: "your_script.cmd" 1> "c:\your_script_stdout.log" 2> "c:\your_script_stderr.log" to see the console output in a log file. Option 2: Try running it as your login account to see the console. Add a pause command to the end of your script so it does not close. Or both, using wtee program in a .BAT to write and show output simultaneously: call "your_script.cmd" 2>>&1 | wtee -a "c:\your_script.log" I've had such a daily scheduled task in...

  • f2d2 f2d2 posted a comment on discussion Help

    To use any command globally without writing full path, its executable file (exe, bat, etc.) must be in one of the folders added to the %PATH% environment variable. 7-Zip does not add its path to environment automatically after install (unlike some programs, mostly ones used for development). In old system it was probably done manually by someone.

  • f2d2 f2d2 modified a comment on discussion Help

    Command line 7z has only two extract modes: e command - extract files ignoring their paths to output folder. x command - extract files using their full stored paths. The only way seems to use a move command after 7z to drop the subpath, like this: "programs\7-Zip\7z.exe" x "source\archive.7z" "-otarget\folder" -- "inside\archive\subfolder" move "target\folder\inside\archive\subfolder" "target\folder\" This will give you a "target\folder\subfolder" extracted. Note that in GUI you can either extract...

  • f2d2 f2d2 modified a comment on discussion Help

    Command line 7z has only two extract modes: e command - extract files ignoring their paths to output folder. x command - extract files using their full stored paths. The only way seems to use a move command after 7z to drop the subpath, like this: "programs\7-Zip\7z.exe" x "source\archive.7z" "-otarget\folder" -- "inside\archive\subfolder" move "target\folder\inside\archive\subfolder" "target\folder\" This will give you a "target\folder\subfolder" extracted. Note that in GUI you can either extract...

  • f2d2 f2d2 posted a comment on discussion Help

    Command line 7z has only two extract modes: "e" command - extract files ignoring their paths to output folder. "x" command - extract files using their full stored paths. The only way seems to use a move command after 7z to drop the subpath, like this: "programs\7-Zip\7z.exe" x "source\archive.7z" "-otarget\folder" -- "inside\archive\subfolder" move "target\folder\inside\archive\subfolder" "target\folder\" This will give you a "target\folder\subfolder" extracted. Note that in GUI you can either extract...

  • f2d2 f2d2 modified a comment on discussion Open Discussion

    Option 1: Wrap it into a .BAT script containing command like this: "your_script.cmd" > "c:\your_script.log" to see the console output in a log file. Option 2: Try running it as your login account to see the console. Add a pause command to the end of your script so it does not close. Or both, using wtee program in a .BAT to write and show output simultaneously: call "your_script.cmd" 2>>&1 | wtee -a "c:\your_script.log" I've had such a daily scheduled task in Win 7 and 10 for years running under my...

  • f2d2 f2d2 posted a comment on discussion Open Discussion

    Option 1: Wrap it into a .BAT with command like this: "your_script.cmd" > "c:\your_script.log" to see the console output in a log file. Option 2: Try running it as your login account to see the console. Add a pause command to the end of your script so it does not close. Or both, using wtee program in a .BAT to write and show output simultaneously: call "your_script.cmd" 2>>&1 | wtee -a "c:\your_script.log" I've had such a daily scheduled task in Win 7 and 10 for years running under my account (because...

  • f2d2 f2d2 posted a comment on ticket #2303

    It works if you select "No compression" setting. Smart7z will apply compression anyway. Same thing with ZSTD and other plugins, by the way, where parameters in text field must be used instead of dropdown for setting compression level.

  • f2d2 f2d2 posted a comment on discussion Help

    You can try command line scripting, utilizing 7-zip's return status codes. For example, in Windows cmd: for %F in (*.zip) do "path\to\7z.exe" t "%F" || rename "%F" "%F.BAD_FILE" Unlike 7zFM.exe or 7zG.exe, which can leave a window with errors waiting to be closed by user, 7z.exe is a command line tool and after completing a test it will just return status code and close.

  • f2d2 f2d2 posted a comment on ticket #66

    Last time that i've seen this error was in 2018 and it was OptiPNG version 0.7.6. Seems like 0.7.7 does not have this problem. Zlib was updated according to history.txt, maybe that's why. It's OK to close this ticket.

  • f2d2 f2d2 posted a comment on discussion Open Discussion

    Other than combining a bunch of files into one, it could be an archive file created with low or no compression that user may want to compress with some method. Reasons may exist to not repack the data instead, e.g. compress a test/buggy zip file for smaller transfer. Or conversely to wrap some better-compressed format into a simple zip for some sevice that only allows uploading zips. Or some other case that may arise. Having options at hand is good.

  • f2d2 f2d2 posted a comment on discussion Open Discussion

    You can install p7zip command-line from repositories to extract 7z files. By the way, does 7-zip compile outside of Windows? I only found some "p7zip GUI" by a quick web search.

  • f2d2 f2d2 posted a comment on discussion Help

    Hello. I tried to search in 7-Zip help file, Google and SF discussion search, but found nothing for 7-Zip on this. What I found in Google on the way, for example: Winrar accepts @ and -n@ arguments without any filename appended. Some zip utility for Linux can have -@ also without filename. I tried @ and -i@ with 7-Zip version 19.02 just in case, it all results in error message ("Cannot find listfile" or "Argument too short"). Background: I'm writing a Python script that automates various archiving...

  • f2d2 f2d2 posted a comment on discussion Open Discussion

    Since it already supports web pages in MHT format, I suggest adding ability to extract from single HTML files saved by Save Page WE, at least the ones with JS preloader inside. https://addons.mozilla.org/ru/firefox/addon/save-page-we/ Thank you for your work anyway.

  • f2d f2d posted a comment on discussion Open Discussion

    I think it'd be better for "s=e" to imply "qs" then.

  • f2d f2d posted a comment on ticket #66

    Disregard the previous comment. Nothing was changed with that, except my log path...

  • f2d f2d posted a comment on ticket #66

    2 weeks ago I have rearranged my web script routine to aggressively discard any image...

  • f2d f2d created ticket #66

    Random failures with exit code 9.

1
MongoDB Logo MongoDB