UExtract-4.2

Miscellaneous tools
Message
Author
User avatar
vicmz
Posts: 1262
Joined: Sun 15 Jan 2012, 22:47

#196 Post by vicmz »

Spanish .mo
Attachments
MoManager-es-uextract-3.25.tar.gz
(4.26 KiB) Downloaded 242 times

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

#197 Post by don570 »

Barry K had interesting report on mime info on his blog

http://barryk.org/news/?viewDetailed=00424
____________________________________________

belham2
Posts: 1715
Joined: Mon 15 Aug 2016, 22:47

#198 Post by belham2 »

Have a question about UExtract (SFR, Don, Greengeek, anyone??) :

I am so addicted to UExtract, that I put it in nearly every puppy (removing whatever might be there) that I can.

And when I go back to use bigger Linux desktop distros, I find myself wondering if UExtract would work in those too.

Would it? Would it load just like all other regular scripts I have and still do its great stuff??? Or am I just whistling Dixie here & don't realize everything that is needed for UExtract to work... :?:

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

#199 Post by SFR »

vicmz wrote:Spanish .mo
Thanks, will be in next version.
don570 wrote:Barry K had interesting report on mime info on his blog
Yeah, I've seen it. I'll add this new DEB mimetype, too, just in case.
belham2 wrote:And when I go back to use bigger Linux desktop distros, I find myself wondering if UExtract would work in those too.
Theoretically, it should.
However rather not as a right-click extension, but as a pure CLI utility.
Just extract UExtract.pet, grab usr/local/apps/UExtract/uextract script and put it somewhere in PATH (/usr/local/bin perhaps) in one of your "bigger" distros.
Then try it from terminal, e.g.:

Code: Select all

uextract archive.tar.gz
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

#200 Post by SFR »

Version 3.26

- added application/x-raw-disk-image-xz-compressed and application/vnd.debian.binary-package MIME types (thanks to don570)
- added support for 'innoextract' (thanks to quirkian2new)
- updated Spanish translation (thanks to vicmz)
- minor corrections
- new formats/extensions:
  • .spack (0linux package) [(un)xz+cpio]
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]

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#201 Post by musher0 »

Many thanks, SFR!
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

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

#202 Post by SFR »

Version 3.27:

- removed {gost|true|vera}crypt entropy test - it could give false positives/negatives in some circumstances
- internal rearrangements and simplifications of 'mount'-related mechanisms
- new formats/extensions:
  • .Arch00 (F.E.A.R. Game Archive) [internal; only "wav" sounds]
  • .crf (Enhanced Dark Engine game archive) [unzip|7z]
  • .fossil (Fossil Repository) [fossil]
  • .mhtml (same as .mht) [ripmime]
  • .orb (OrbitalApps.com Portable App) [mount|{tar+{g(un)zip|b(un)zip2|(un)xz|(un)compress}}]
  • .u (Unreal Tournament Class Package) [internal; only "wav" sounds]
  • .xo (Activity Bundle for the Sugar learning platform) [unzip|7z]
  • .z (TempleOS compressed file) [tosz]
  • .zim (OpenZIM Wiki Archive) [zimdump]
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]

slavvo67
Posts: 1610
Joined: Sat 13 Oct 2012, 02:07
Location: The other Mr. 305

#203 Post by slavvo67 »

SFR:

I'm a regular user of UExtract but sometimes get a bit frustrated with the time it takes to sync at the end of the extraction. What's that for and is there a way to speed that up?

Thanks,

Slavvo67

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

#204 Post by SFR »

slavvo67 wrote:SFR:

I'm a regular user of UExtract but sometimes get a bit frustrated with the time it takes to sync at the end of the extraction. What's that for and is there a way to speed that up?

Thanks,

Slavvo67
Hey Slavvo67

Yes, syncing after extraction was a bad and odd idea, that's why it's been removed long ago (v3.7, 01 Feb 2015).
So, the best way to get rid of it is to just upgrade to the latest.
Or, if you don't want to, find the line with sync command in uextract script in /usr/local/apps/UExtract(/bin) and delete it.

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

#205 Post by SFR »

Version 3.28:

- fix: removed spaces from "MimeType" line in UExtract.desktop (thanks to Step)
- can handle AppImages that use 'SquashFS' instead of 'ISO' format
- new formats/extensions:
  • .br (Brotli Compressed File) [bro]
  • .dz (Dictzip Compressed File) [g(un)zip]
  • .fcstd (FreeCAD Document) [unzip|7z]
  • .lep (Lepton Compressed JPEG Image) [lepton]
  • .nth (Nokia Series 40 Theme File) [unzip|7z]
  • .sdi (Windows System Deployment Image) [7z]
  • .vpk (Valve Pak) [internal, *.wav only]
First post updated!

Btw, I removed the changelog from the first post, because it takes too much space.
It's still available in the package itself, though.

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]

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#206 Post by musher0 »

Hi SFR.

There's no end to these file extensions, is there? :shock: :D

Many thanks. BFN.
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

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

#207 Post by SFR »

I don't even deliberately search for them anymore, they're just finding me. :wink:

Speaking of which, in v3.28 we have nice and round:

Code: Select all

# uextract -f | grep '^\.' | wc -l
512
# 
supported extensions.

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]

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#208 Post by musher0 »

SFR wrote:I don't even deliberately search for them anymore, they're just finding me. :wink:

Speaking of which, in v3.28 we have nice and round:

Code: Select all

# uextract -f | grep '^\.' | wc -l
512
# 
supported extensions.

Greetings!
Oh, my God! What is the World coming to?! :lol:
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

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

fatdog 710

#209 Post by don570 »

When I tried to extract a RPM package while in the fatdog 710 distro
using uextract I got the error --->
'exploderpm' not found

When I checked ---> rpm2tgz-1.2.2-x86_64-1|rpm2tgz is installed instead

_____________________________________________________

To make a package in fatdog linux there is simple command in fatdog...
ftp://distro.ibiblio.org/pub/linux/dist ... ckage.html
Step 3 - Making a package out of loose files
Let's say you have already collected all the files, with the correct hierachy, in a directory called "/tmp/xxx" (using one of the methods in step 2). That is, your new application "abiword" binary has been placed in "/tmp/xxx/usr/bin/abiword", its desktop menu file is located in "/tmp/xxx/usr/share/applications/abiword.desktop", its icon in "/tmp/xxx/usr/share/pixmaps/abiword.png", etc.

Then to make the package, all you need to do is run makepkg like this:

cd /tmp/xxx
makepkg -c n -l n /path/to/where/you/want/to/keep/the/package-version-x86_64-num.txz

_____________________________________________________________

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

#210 Post by SFR »

don570 wrote:'exploderpm' not found
UExtract tries to extract an RPM in 4 ways, using:
1. rpm2cpio + cpio,
2. rpm2cpio + (un)xz + cpio,
3. exploderpm,
4. 7z + cpio.

Did the first 2 methods fail?
Fatdog does not come with exploderpm script OOTB, but you can get it from src2pkg (it's a part of it) or directly from Woof-CE.

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]

amigo
Posts: 2629
Joined: Mon 02 Apr 2007, 06:52

#211 Post by amigo »

Some recent RPM's are using the 7z signature, instead of xz's.

From exploderpm:
# VERSION 0.3 Gilbert Ashley <amigo@ibiblio.org>
# Added support for newer fedora rpm archives which use 7z instead of xz
# Thanks to Jakub Szefer for finding and reporting this problem

The relative decompress command is:
"]"*|?"7z"*) dd if="$pkg" ibs=$o skip=1 2>/dev/null | unxz | cpio --quiet -ivdm ;;

The still older signature for lzma(2) was:
fda8a
echo -en '\0fd\037\07a\058\05a\000

Only the latest rpm2cpio may have this support and I am unsure whether busybox rpm2cpio does that

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

#212 Post by don570 »

I retested uextract after rebooting my machine and it worked
fine this time.

I think I must have damaged something when I tried to compile the
latest gimp 2.8.22

_____________________________________________

scsijon
Posts: 1596
Joined: Thu 24 May 2007, 03:59
Location: the australian mallee
Contact:

#213 Post by scsijon »

And what about adding Zstandard for .zst extensions, we are using it in T2 and it's fast and small.

Zstandard is a real-time compression algorithm, providing high compression ratios. It offers a very wide range of compression / speed trade-off, while being backed by a very fast decoder. It also offers a special mode for small data, called dictionary compression, and can also create dictionaries from a sample set.

URL is: http://www.zstd.net

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

#214 Post by SFR »

scsijon wrote:And what about adding Zstandard for .zst extensions, we are using it in T2 and it's fast and small.
Hey Scsijon

I've already added it (along with Lizard), will be in v3.29.
___________

[later]

Version 3.29:
- removed 'rpm2cpio+(un)xz+cpio' method, because I haven't seen a single RPM that could be extracted using this routine
- skips zero-byte files automatically
- new formats/extensions:
  • .liz (Lizard Compressed File) [lizard]
  • .zst (Zstandard Compressed File) [zstd]
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]

scsijon
Posts: 1596
Joined: Thu 24 May 2007, 03:59
Location: the australian mallee
Contact:

#215 Post by scsijon »

And many thank you's, I shall download and test.

EDIT: OOPS, my bad, forgot to tell you it also has a working .tzst extension (equals .tar.zst) as well as the normal zst, sorry.

Post Reply