How do I look inside a ".pet" ?

Talk about and post software packages known to work or packaged for Puppy.
Post Reply
Message
Author
tytower

How do I look inside a ".pet" ?

#1 Post by tytower »

I want to see whats in one I downloaded . Is there a how to on this?

User avatar
James C
Posts: 6618
Joined: Thu 26 Mar 2009, 05:12
Location: Kentucky

Re: How do I look inside a ".pet" ?

#2 Post by James C »

tytower wrote:I want to see whats in one I downloaded . Is there a how to on this?
I just right click on the pet and rename the extension from "pet" to "tar.gz" (without the quotes). Then just left click it, extract it and explore.
HTH.

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#3 Post by rcrsn51 »

Or use "pet2tgz package.pet".

postfs1

#4 Post by postfs1 »

cd /tmp ; curl -C - -O file:///mnt/sr0/PET_files/mesa-7.6-q1.pet ; pet2tgz mesa-7.6-q1.pet ; tar -tf mesa-7.6-q1.tar.gz | cut -d '/' -f 2-7 | sed 's/^/\//' ; rm /tmp/mesa-7.6-q1.tar.gz
Addition

[=1----=>]

Code: Select all

dd bs=1 if=/archive/clearlooks-0.6.2-i386.pet of=/archive/clearlooks-0.6.2-i386.pet.pet; pet2tgz /archive/clearlooks-0.6.2-i386.pet.pet; tar tvf /archive/clearlooks-0.6.2-i386.pet.tar.gz; rm /archive/clearlooks-0.6.2-i386.pet.tar.gz
[<=1=]

[=2----=>]

Code: Select all

cd /archive/ ; curl -C - --upload-file clearlooks-0.6.2-i386.pet --url file:///archive/clearlooks-0.6.2-i386.pet.pet; pet2tgz /archive/clearlooks-0.6.2-i386.pet.pet; tar tf /archive/clearlooks-0.6.2-i386.pet.tar.gz; rm /archive/clearlooks-0.6.2-i386.pet.tar.gz
[<=2=]

Edit: 2014, jan 30.
Last edited by postfs1 on Thu 30 Jan 2014, 13:27, edited 4 times in total.

User avatar
vovchik
Posts: 1507
Joined: Tue 24 Oct 2006, 00:02
Location: Ukraine

#5 Post by vovchik »

You can also try my lspet or lspet-gui:

http://murga-linux.com/puppy/viewtopic. ... 2f8d768e55

Both are on the second page.

With kind regards,
vovchik

tytower

#6 Post by tytower »

vovchik wrote:You can also try my lspet or lspet-gui:
http://murga-linux.com/puppy/viewtopic. ... 2f8d768e55
Both are on the second page.
With kind regards,
vovchik
Don't be misled by this .It lists some of the directory names only.
About 6 or 7 in the case of LibreOffice.pet

Changing the name to ".tgz " and then opening it ,in fact, showed the hundreds of files and directories contained in the pet . That's what I wanted to see and I don't see any point in downloading or using "lspet"?

User avatar
dejan555
Posts: 2798
Joined: Sun 30 Nov 2008, 11:57
Location: Montenegro
Contact:

#7 Post by dejan555 »

Code: Select all

tar xf somepackage.pet


it will extract files into directory because .pet is basically tar archive with some additional info attached, it will show some errors in console because of this but all files will be extracted normally
puppy.b0x.me stuff mirrored [url=https://drive.google.com/open?id=0B_Mb589v0iCXNnhSZWRwd3R2UWs]HERE[/url] or [url=http://archive.org/details/Puppy_Linux_puppy.b0x.me_mirror]HERE[/url]

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

#8 Post by amigo »

'tar -tf archivename' to simply list the archive without extracting it -except that you need to tell atr that it is a gzipped tarred archive like this:
'tar --use-compress-program=gzip -tf archivename'
Add '2>/dev/null' if the warning about garbage at the end bothers you...

Probably someone here will come up with a 'new distro' especially dedicated to listing the contents of pets, with a full range of pet2?? and ??2pet scripts -maybe even a gui to create a partition dedicated to holding the pet contents so that lspet or lsdir can list them. LOL

Post Reply