Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Sat 20 Dec 2014, 22:37
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff)
How do I look inside a ".pet" ?
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [8 Posts]  
Author Message
tytower

Joined: 24 Feb 2007
Posts: 440
Location: Green Island Cairns for the winter

PostPosted: Thu 05 Apr 2012, 21:12    Post subject:  How do I look inside a ".pet" ?  

I want to see whats in one I downloaded . Is there a how to on this?
_________________
Neither my Family nor my Property are Government issues. Governments should do what they were designed to do Manage the larger issues best done by Governments
To stop corruption give them 3 times the penalty. Get their agreement on first employment.
Back to top
View user's profile Send private message 
James C


Joined: 26 Mar 2009
Posts: 5971
Location: Kentucky

PostPosted: Thu 05 Apr 2012, 21:30    Post subject: Re: How do I look inside a ".pet" ?  

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.
Back to top
View user's profile Send private message 
rcrsn51


Joined: 05 Sep 2006
Posts: 9368
Location: Stratford, Ontario

PostPosted: Thu 05 Apr 2012, 22:01    Post subject:  

Or use "pet2tgz package.pet".
Back to top
View user's profile Send private message 
postfs1


Joined: 27 Mar 2010
Posts: 831

PostPosted: Fri 20 Apr 2012, 02:47    Post subject:  

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

Quote:

Addition

[=1----=>]
Code:

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:

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.

_________________
  • I don't know why laboratories are named a hospitals.
  • The alive personage is like a tea bag with granules of unknown density inside, at that one the packet was made of organic material and was placed in the evaporated liquid or liquid.


Last edited by postfs1 on Thu 30 Jan 2014, 09:27; edited 4 times in total
Back to top
View user's profile Send private message 
vovchik


Joined: 23 Oct 2006
Posts: 1287
Location: Ukraine

PostPosted: Fri 20 Apr 2012, 03:42    Post subject:  

You can also try my lspet or lspet-gui:

http://murga-linux.com/puppy/viewtopic.php?t=59198&start=15&sid=5fd0dc128afacc91fd875a2f8d768e55

Both are on the second page.

With kind regards,
vovchik
Back to top
View user's profile Send private message 
tytower

Joined: 24 Feb 2007
Posts: 440
Location: Green Island Cairns for the winter

PostPosted: Thu 03 May 2012, 06:20    Post subject:  

vovchik wrote:
You can also try my lspet or lspet-gui:
http://murga-linux.com/puppy/viewtopic.php?t=59198&start=15&sid=5fd0dc128afacc91fd875a2f8d768e55
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"?

_________________
Neither my Family nor my Property are Government issues. Governments should do what they were designed to do Manage the larger issues best done by Governments
To stop corruption give them 3 times the penalty. Get their agreement on first employment.
Back to top
View user's profile Send private message 
dejan555


Joined: 30 Nov 2008
Posts: 2720
Location: Montenegro

PostPosted: Sun 11 Aug 2013, 10:08    Post subject:  

Code:
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

_________________
Dpup 487 | Puppy Gallery | My photo gallery | mtPaint works
Back to top
View user's profile Send private message Visit poster's website MSN Messenger 
amigo

Joined: 02 Apr 2007
Posts: 2293

PostPosted: Mon 09 Sep 2013, 11:40    Post subject:  

'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
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [8 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff)
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0696s ][ Queries: 12 (0.0139s) ][ GZIP on ]