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 19 Apr 2014, 18:35
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Utilities
dtrx
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [1 Post]  
Author Message
Keef


Joined: 20 Dec 2007
Posts: 562
Location: Staffordshire

PostPosted: Fri 18 Jan 2013, 18:43    Post subject:  dtrx
Subject description: Archive extractor - needs Python
 

http://brettcsmith.org/2007/dtrx/

If you've got python installed (2.4 or greater) - usually in the devx, you just have a single script to run.
Quote:
dtrx: Intelligent archive extraction
Introduction

dtrx stands for “Do The Right Extraction.” It's a tool for Unix-like systems that takes all the hassle out of extracting archives. Here's an example of how you use it:
$ dtrx linux-3.0.1.tar.bz2

That's basically the same thing as:
$ tar -jxf linux-3.0.1.tar.bz2

But there's more to it than that. You know those really annoying files that don't put everything in a dedicated directory, and have the permissions all wrong?
$ tar -zvxf random-tarball.tar.gz
foo
bar
data/
data/text
$ cd data/
cd: permission denied: data

dtrx takes care of all those problems for you, too:
$ dtrx random-tarball.tar.gz
$ cd random-tarball/data
$ cat text
This all works properly.

dtrx is simple and powerful. Just use the same command for all your archive files, and they'll never frustrate you again.
Features
Handles many archive types: You only need to remember one simple command to extract tar, zip, cpio, deb, rpm, gem, 7z, cab, lzh, rar, gz, bz2, lzma, xz, and many kinds of exe files, including Microsoft Cabinet archives, InstallShield archives, and self-extracting zip files. If they have any extra compression, like tar.bz2 files, dtrx will take care of that for you, too.
Keeps everything organized: dtrx will make sure that archives are extracted into their own dedicated directories.
Sane permissions: dtrx makes sure you can read and write all the files you just extracted, while leaving the rest of the permissions intact.
Recursive extraction: dtrx can find archives inside the archive and extract those too.
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [1 Post]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Utilities
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.0343s ][ Queries: 11 (0.0032s) ][ GZIP on ]