UExtract-4.2

Miscellaneous tools
Message
Author
User avatar
SFR
Posts: 1800
Joined: Wed 26 Oct 2011, 21:52

#271 Post by SFR »

jplt3 wrote:Hi all,

is it possible with UExtract to select multiple files and extract them in their folders ?

Thanks @SFR for your excellent tool.
Sure, just select them -> right-click -> Open With/Send To -> UExtract
In Fatdog (and other distros that use jun7's ROX fork) UExtract is already in top-level right-click menu, even for multiple selections.
Or from CLI:

Code: Select all

uextract foo.tgz bar.7z baz.xz ...
Greetings!
[color=red][size=75][O]bdurate [R]ules [D]estroy [E]nthusiastic [R]ebels => [C]reative [H]umans [A]lways [O]pen [S]ource[/size][/color]
[b][color=green]Omnia mea mecum porto.[/color][/b]

User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

#272 Post by don570 »

There should be no pot files in pet package. Momanager works without them.
http://www.murga-linux.com/puppy/viewto ... 69#1047969
___________________________________

User avatar
SFR
Posts: 1800
Joined: Wed 26 Oct 2011, 21:52

#273 Post by SFR »

don570 wrote:There should be no pot files in pet package. Momanager works without them.
Why not? They're provided as a convenience for translators.
MoManager has no monopoly on that, last time I checked. ;)

Greetings!
[color=red][size=75][O]bdurate [R]ules [D]estroy [E]nthusiastic [R]ebels => [C]reative [H]umans [A]lways [O]pen [S]ource[/size][/color]
[b][color=green]Omnia mea mecum porto.[/color][/b]

User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

#274 Post by don570 »

momanager does search for pot files
(but I doubt it searches in uextract folder)
and it screws up the process of making a small change
of a translation so I was told by momanager developper to stop putting it in my packages.
I thought I was helping translators , but I wasn't.

All momanager needs is the po file and the script. The pot file is a middle step of a process.
__________________________________________________

step
Posts: 1349
Joined: Fri 04 May 2012, 11:20

#275 Post by step »

Momanager is a layer above GNU gettext. It is an optional tool, which most puppy translators use, but it isn't required to get translations done. All one needs to produce translatable sources (this is the job of the application author), and translations (the translator's job) is the GNU gettext package. Of course, for many translators Momanager is more convenient because it hides away the use of the gettext conversion tools.
My understanding of the minimal workflow (this is documented in detail in the GNU gettext project documentation page) is:

author: program source --> gettext --> pot file
translator: pot file --> po file (then the first translation can be started)
translator: updated pot file --> updated po file (on each program update)
author: po files from translators --> mo files -- program release

If an author is entirely managing translations as part of the release process then there is no need to add pot or po files to the package. Only the mo files are required.

Conversely, if an author wants for the occasional untranslated language to give people "out there" the opportunity to create a translation, then the pot file is needed. Po files can be added if an author wants for people "out there" to be able to modify translations in a specific language.

I think (not sure because I don't use momanager) that internally momanager generates a pot file to enable further processing steps. But the generated pot file derives from momanager's generation criteria, which may not be sufficient to capture all translatable strings in the source code.
[url=http://murga-linux.com/puppy/viewtopic.php?t=117546]Fatdog64-810[/url]|[url=http://goo.gl/hqZtiB]+Packages[/url]|[url=http://goo.gl/6dbEzT]Kodi[/url]|[url=http://goo.gl/JQC4Vz]gtkmenuplus[/url]

darry19662018
Posts: 721
Joined: Sat 31 Mar 2018, 08:01
Location: Rakaia
Contact:

#276 Post by darry19662018 »

I have tested this on the only Pup I run when not running Stretch-Dog Tiny Puduan by S243a and it works fine with a stretch .deb.
Puppy Linux Wiki: [url]http://wikka.puppylinux.com/HomePage[/url]

[url]https://freemedia.neocities.org/[/url]

User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

#277 Post by don570 »

Reading here I discovered another method of encryption
https://www.putorius.net/how-to-create- ... sword.html

Code: Select all

tar czvpf - file1.txt file2.pdf file3.jpg | gpg --symmetric --cipher-algo aes256 -o myarchive.tar.gz.gpg
_________________________________________

Using uextract I found that I couldn't extract the following...

tar a folder and 7za compression with a password - .tar.7z extension
I made it with Packit using fatdog64.

It didn't crash. It just stalled and did nothing.

_______________________________________

User avatar
SFR
Posts: 1800
Joined: Wed 26 Oct 2011, 21:52

#278 Post by SFR »

don570 wrote:

Code: Select all

tar czvpf - file1.txt file2.pdf file3.jpg | gpg --symmetric --cipher-algo aes256 -o myarchive.tar.gz.gpg
Just FYI: when you right-click a .gpg file, UExtract doesn't show up (ROX recognizes it as generic application/octet-stream), but it's possible to decrypt it from CLI (uextract file.gpg).
Not every file with .gpg extension is encrypted, though, for example GnuPG's keyrings (pubring, secring) also use that extension.
don570 wrote:Using uextract I found that I couldn't extract the following...

tar a folder and 7za compression with a password - .tar.7z extension
I made it with Packit using fatdog64.

It didn't crash. It just stalled and did nothing.
Hmm, I guess I've never tried that combination with encryption before.
It doesn't really stall, it just waits for a password, but there's no prompt.
I'll fix it in next release.

Thanks &
Greetings!
[color=red][size=75][O]bdurate [R]ules [D]estroy [E]nthusiastic [R]ebels => [C]reative [H]umans [A]lways [O]pen [S]ource[/size][/color]
[b][color=green]Omnia mea mecum porto.[/color][/b]

User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

#279 Post by don570 »

Thanks for info.

User avatar
SFR
Posts: 1800
Joined: Wed 26 Oct 2011, 21:52

#280 Post by SFR »

Version 3.42:

- added '-d,--dependencies' option that shows the availability of common dependencies
- show password prompt for encrypted .tar.7z & .cpio.7z archives (thanks to don570)
- better handling of zstd compressed RPMs
- PDF: removed extracting text to HTML and images to PNG
- various fixes and improvements

First post updated.

Greetings!
[color=red][size=75][O]bdurate [R]ules [D]estroy [E]nthusiastic [R]ebels => [C]reative [H]umans [A]lways [O]pen [S]ource[/size][/color]
[b][color=green]Omnia mea mecum porto.[/color][/b]

phat7
Posts: 179
Joined: Fri 05 Jun 2015, 08:54

#281 Post by phat7 »

Thank you for this excellent tool.

User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

#282 Post by don570 »

There's a faster way of compressing a file apparently. I'll have to investigate. ---> pigz
http://murga-linux.com/puppy/viewtopic.php?t=118083
-------------------------------------------------

User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

#283 Post by don570 »

There's an odd thing I discovered when extracting a rar archive. -->

If there is a link inside the rar archive --> uextract doesn't extract it. rar documentation says that it
is unsafe??

...but I was able to extract correctly a link using unrar command (see terminal output for example)

binney55.mp4 is actually a link to file outside of folder that was compressed. -ola is option that does the trick.
unrar even changed the path of the link so that it will correctly match up
to the original file.

Code: Select all

# unrar e -ola New_Dir.rar

UNRAR 5.50 freeware      Copyright (c) 1993-2017 Alexander Roshal


Extracting from New_Dir.rar


Would you like to replace the existing file Script
    51 bytes, modified on 2020-01-21 03:25
with a new one
    51 bytes, modified on 2020-01-21 03:25

[Y]es, [N]o, [A]ll, n[E]ver, [R]ename, [Q]uit a

Extracting  Script                                                    OK 
Extracting  zzzzzz                                                    OK 
Extracting  DIRNAME_CORRECTED.tar.gz.gpg                              OK 
Extracting  DIRNAME_CORRECTED.tar.xz.gpg                              OK 
Extracting  binney55.mp4                                              OK 
Extracting  NewDir.tar.gz                                             OK 
All OK
# 

User avatar
SFR
Posts: 1800
Joined: Wed 26 Oct 2011, 21:52

#284 Post by SFR »

@Phat7: you're welcome!

@Don: Ok, I can reproduce it. It concerns only absolute symlinks, relative links are being extracted properly.
Will fix it, thanks!

Greetings!
[color=red][size=75][O]bdurate [R]ules [D]estroy [E]nthusiastic [R]ebels => [C]reative [H]umans [A]lways [O]pen [S]ource[/size][/color]
[b][color=green]Omnia mea mecum porto.[/color][/b]

User avatar
SFR
Posts: 1800
Joined: Wed 26 Oct 2011, 21:52

#285 Post by SFR »

Version 4.0:

- AppRun: add GtkDialog GUI (Xdialog as a fallback)
- added '-s, --skip-symlinks' CLI option (do not follow symlinks)
- extract in the symlink's dir, not the target's
- can extract most of compressed initrd* files in one go
- use also 7z to extract DEB
- extract attachments from video files
- better compatibility with older/BusyBox versions of 'fdisk'
- fix extracting absolute symlinks from RAR archives (thanks to don570)
- refactoring, fixes, improvements

First post updated.

Greetings!
[color=red][size=75][O]bdurate [R]ules [D]estroy [E]nthusiastic [R]ebels => [C]reative [H]umans [A]lways [O]pen [S]ource[/size][/color]
[b][color=green]Omnia mea mecum porto.[/color][/b]

User avatar
Mike Walsh
Posts: 6351
Joined: Sat 28 Jun 2014, 12:42
Location: King's Lynn, UK.

#286 Post by Mike Walsh »

Beautiful work, Jake, as always. Ever since I discovered this and Packit, I've not bothered with anything else. They're the most efficient & easy-to-use archiving utilities I've yet had the pleasure of using. I especially appreciate the switch to the more modern file-chooser; I don't know why, but I just find the older version somewhat 'clunky'...

Keep it up, mate..!


Mike. :wink:
Last edited by Mike Walsh on Mon 24 Feb 2020, 11:01, edited 1 time in total.

User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

#287 Post by don570 »

I verified that uextract 4.0 works with RAR archive with links inside.

I checked by making a rar archive (preserve links) with compression.sh 2.2
http://murga-linux.com/puppy/viewtopic.php?t=78902
I even added a password :lol:

-----------------------------------------------------------------

rcfrei0126
Posts: 1
Joined: Fri 20 Mar 2020, 22:50

#288 Post by rcfrei0126 »

Excellent job updating the script for gtkdialog support. xdialog cant be found for 64bit deb anywhere.

I converted my old uextract deb to this updated version.

Keep up the good work.

User avatar
SFR
Posts: 1800
Joined: Wed 26 Oct 2011, 21:52

#289 Post by SFR »

Thanks guys! :)
___________

Version 4.1:

- minor fixes and improvements
- new formats/extensions:
  • .btrfs (btrfs Disk Image) [{cryptsetup|{gdisk|fdisk}}+mount]
  • .cbb (Comic Book TAR BZ2 Archive) [{bunzip|b(un)zip2}+tar]
  • .cbg (Comic Book TAR GZ Archive) [g(un)zip+tar]
  • .mpq (Blizzard Game Data File) [MPQExtractor]
  • .sc2archive (Blizzard StarCraft 2 Archive File) [MPQExtractor]
  • .sc2assets (Blizzard StarCraft 2 Assets File) [MPQExtractor]
  • .SC2Data (Blizzard StarCraft 2 Data File) [MPQExtractor]
  • .SC2MA (StarCraft 2 Map Data File) [MPQExtractor]
  • .sc2mod (Blizzard StarCraft 2 Modification File) [MPQExtractor]
First post updated.

Greetings!
[color=red][size=75][O]bdurate [R]ules [D]estroy [E]nthusiastic [R]ebels => [C]reative [H]umans [A]lways [O]pen [S]ource[/size][/color]
[b][color=green]Omnia mea mecum porto.[/color][/b]

User avatar
nic007
Posts: 3408
Joined: Sun 13 Nov 2011, 12:31
Location: Cradle of Humankind

#290 Post by nic007 »

Looking for a utility that can extract epub to one text/html file. Currently I'm using a Windows program for this but I can't get it to work in WINE.

Post Reply