UExtract-4.2

Miscellaneous tools
Message
Author
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.

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

#291 Post by SFR »

nic007 wrote: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.
Calibre can convert to a single txt file. Or to htmlz, which is a ZIP archive that containts a single index.html + stuff like images dir, style.css, etc.

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

#292 Post by nic007 »

Calibre is huge. I use the balabolka commandline utility. Small and does all the ebook formats and more (about 17 to text formats). Works perfectly with Windows and with WINE but for the epub to text tool when using it with WINE. Some delzip error when using with WINE. Unfortunately most ebooks seem to be epub format. Not really a problem as I also have Windows on my machine and I just boot Windows to do the job.

User avatar
Keef
Posts: 987
Joined: Thu 20 Dec 2007, 22:12
Location: Staffordshire

#293 Post by Keef »

epub2txt will extract an epub to a text file. Just compliled it and tried it (on FatDog), and worked ok as far as I can see.

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

#294 Post by SFR »

Keef wrote:epub2txt will extract an epub to a text file. Just compliled it and tried it (on FatDog), and worked ok as far as I can see.
Nice find! The attached is 32bit binary, statically linked against musl and UPXed.

Greetings!
Attachments
epub2txt.gz
Remove fake .gz extension and 'chmod +x epub2txt'
(51.32 KiB) Downloaded 124 times
[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]

O.F.I.N.S.I.S.
Posts: 159
Joined: Sun 01 Mar 2020, 16:17

#295 Post by O.F.I.N.S.I.S. »

rcfrei0126 wrote:...snippet
xdialog cant be found for 64bit deb anywhere.
This is the 64bit Xdialog binary. It's a fake .gz file. Remove the fake .gz extension and make executable.
Attachments
Xdialog.gz
(88.96 KiB) Downloaded 112 times
Our Future Is Not Set In Stone
[url]https://www.youtube.com/channel/UCyfyaxCNMduwyXlQFRQKhhQ[/url]
[url]https://soundcloud.com/user-633698367[/url]
[b]My own build of Bionic64[/b]

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

#296 Post by nic007 »

SFR wrote:
Keef wrote:epub2txt will extract an epub to a text file. Just compliled it and tried it (on FatDog), and worked ok as far as I can see.
Nice find! The attached is 32bit binary, statically linked against musl and UPXed.

Greetings!
Thanks. Initial tests seem to give the desired results.

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

#297 Post by nic007 »

I made a script for bulk conversion with epub2txt. Note that in this example the epub files are placed in /root/my-documents for conversion, you may want to change that.

Code: Select all

#!/bin/sh
# This command produces the list of .epub files
LIST=$(ls /root/my-documents/*.epub)

IFS=$'\n'

for Line in $LIST  # Loop through the list
do
   Text_Out=$(echo $Line | cut -d '.' -f1)".txt"  # change .epub extension to .txt

   epub2txt "$Line" > "$Text_Out"
done 

exit

quirkian2new
Posts: 152
Joined: Tue 06 Oct 2015, 14:10
Location: on the inter-planet train

#298 Post by quirkian2new »

In order not to hijack the uextract thread, i started a new thread for epub2txt

http://www.murga-linux.com/puppy/viewto ... 72#1057872

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

#299 Post by SFR »

Version 4.2:

- added Info button (Filetypes/Weblinks/Backends) to Gtkdialog GUI
- improved extraction of hybrid ISOs
- removed MIME Types from the main .desktop file
- minor fixes and improvements
- new formats/extensions:
  • .3g2 (3GPP2 Multimedia File) [avconv|ffmpeg]
  • .actc (Action(s) Collection File) [unzip|7z]
  • .asf (Advanced Systems Format File) [avconv|ffmpeg]
  • .atz (Aston Compiled Theme) [unzip|7z]
  • .bootskin (Stardock Bootskin File) [unzip|7z]
  • .catrobat (Catrobat Project File) [unzip|7z]
  • .cl2arc (Comic Life 2 Document Archive) [7z]
  • .cptl (Adobe Captivate Project Template File) [unzip|7z]
  • .cptx (Adobe Captivate Project File) [unzip|7z]
  • .curtainsStyle (WinCustomize Curtains Style) [unzip|7z]
  • .curxptheme (CursorXP Theme File) [unzip|7z]
  • .deskthemepack (Windows 8 Desktop Theme Pack File) [7z]
  • .docm (Word Open XML Macro-Enabled Document) [unzip|7z]
  • .dxpack (Stardock DesktopX Object) [unzip|7z]
  • .f4v (Flash Video File) [avconv|ffmpeg]
  • .fomod (Fallout Mod Archive) [(un)rar|7z]
  • .fsb (FMOD Sample Bank File) [fsbext]
  • .gcf (Game Cache File) [hlextract]
  • .h264 (H.264 Encoded Video File) [avconv|ffmpeg]
  • .hevc (High Efficiency Video Coding File) [avconv|ffmpeg]
  • .honmod (HON Modification Manager File) [unzip|7z]
  • .icmod (Inner Core Minecraft PE Mod File) [unzip|7z]
  • .image (Disk Image) [{cryptsetup|{gdisk|fdisk}}+mount]
  • .jwpub (Jehovah's Witnesses Publication File) [unzip|7z]
  • .key (Keynote Presentation) [unzip|7z]
  • .luks (LUKS Encrypted Disk Image) [{cryptsetup|{gdisk|fdisk}}+mount]
  • .m2s (Maxthon 2 Browser Skin File) [unzip|7z]
  • .m2ts (MPEG-2 Transport Stream) [avconv|ffmpeg]
  • .m2v (MPEG-2 Video) [avconv|ffmpeg]
  • .m4v (iTunes Video File) [avconv|ffmpeg]
  • .mcaddon (Minecraft Pack Addon File) [unzip|7z]
  • .mcpack (Minecraft Resource Pack File) [unzip|7z]
  • .mepx (Movavi Video Editor Project) [unzip|7z]
  • .msz (MediaMonkey Skin) [unzip|7z]
  • .mtf (Motorola Theme File) [g(un)zip+tar]
  • .mts (AVCHD Video File) [avconv|ffmpeg]
  • .mtz (MIUI Theme) [unzip|7z]
  • .mxf (Material Exchange Format File) [avconv|ffmpeg]
  • .mxskin (Maxthon Skin File) [unzip|7z]
  • .nc (mcrypt Encrypted File) [mcrypt]
  • .numbers (Numbers Spreadsheet File) [unzip|7z]
  • .oiv (OpenIV Mod Package File) [unzip|7z]
  • .osk (osu! Skin File) [unzip|7z]
  • .oxps (OpenXPS File) [unzip|7z]
  • .pages (Pages Document) [unzip|7z]
  • .pdmod (Payday Modification Archive) [7z]
  • .pkz (Video Game Package) [unzip|7z]
  • .ppsm (PowerPoint Open XML Macro-Enabled Slide) [unzip|7z]
  • .ppsx (PowerPoint Open XML Slide Show) [unzip|7z]
  • .pptm (PowerPoint Open XML Macro-Enabled Presentation) [unzip|7z]
  • .rjs (RealJukebox Skin File) [unzip|7z]
  • .sb2 (Scratch 2.0 Project File) [unzip|7z]
  • .sb3 (Scratch 3.0 Project File) [unzip|7z]
  • .sbsar (Substance Archive) [7z]
  • .scdoc (SpaceClaim Document) [unzip|7z]
  • .sdt (Siemens Desktop Theme File) [unzip|7z]
  • .sjr (ScratchJr Project File) [unzip|7z]
  • .skz (SuperKaramba Theme) [unzip|7z]
  • .smskin (StarMade Skin File) [unzip|7z]
  • .smt Samsung Theme File) [unzip|7z]
  • .soundpack (SoundPackager Sound Package) [unzip|7z]
  • .sprite2 (Scratch 2.0 Sprite File) [unzip|7z]
  • .sprite3 (Scratch 3.0 Sprite File) [unzip|7z]
  • .sqlitedb (SQLite Database File) [sqlite3|fossil]
  • .swc (Flex Components Archive) [unzip|7z]
  • .tpz (Godot Engine Export Template Archive) [unzip|7z]
  • .ts4script (The Sims 4 Script Archive) [unzip|7z]
  • .tsz (Trillian Skin File) [unzip|7z]
  • .ttc (TrueType Font Collection) [stripttc]
  • .usdz (Universal Scene Description Zipped Format) [unzip|7z]
  • .utf (Freelancer Audio Package) [<internal>]
  • .wotmod (World of Tanks Modification File) [unzip|7z]
  • .xps (Microsoft XML Paper Specification File) [unzip|7z]
  • .vlt (VLC Media Player Skin File) [g(un)zip+tar]
  • .vp6 (TrueMotion VP6 Video File) [avconv|ffmpeg]
  • .wtv (Windows Recorded TV Show File) [avconv|ffmpeg]
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
nilsonmorales
Posts: 972
Joined: Fri 15 Apr 2011, 14:39
Location: El Salvador

#300 Post by nilsonmorales »

Thanks SFR
Attachments
uextract-4.2-MoManager-es-.bz2
Spanish locales/Locales en español usuarios de habla hispana, extraer en la ruta del archivo
(4.5 KiB) Downloaded 89 times
[b][url=http://nilsonmorales.blogspot.com/]My blog |[/url][/b][b][url=https://github.com/woofshahenzup]| Github[/url][/b]
[img]https://i.postimg.cc/5tz5vrrX/imag018la6.gif[/img]
[img]http://s5.postimg.org/7h2fid8pz/botones_logos3.png[/img]

Post Reply