AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Quickly extract, delete, list, etc. files from a TAR archive

 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Scripts & Functions
View previous topic :: View next topic  
Author Message
Oberon



Joined: 18 Feb 2008
Posts: 458

PostPosted: Mon May 12, 2008 8:02 pm    Post subject: Quickly extract, delete, list, etc. files from a TAR archive Reply with quote

Simple binary-safe functions to extract, save, delete and list files from a tar archive. Supports standard POSIX specification and GNU USTAR extensions. Typical usage scenario: combine all your multimedia images, sounds and other auxiliary files in a .tar (e.g. with 7-zip/WinRAR), share your script along with this single archive and let your script extract these resources and consume them at run time. Benefits include easier maintenance and less IO overhead for USB/flash drives.

I created this in response to Skan's "axm" and tics "binary resource archive" which attempt to emulate the same behaviour with non-standard proprietary formats.
This library has been tested with php source code tarball (>60mb) and ones created by 7-zip; it proves to be very fast and reliable. Function for adding files will be written soon.

Download tar.ahk - stdlib compliant
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Scripts & Functions All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group