Oberon
Joined: 18 Feb 2008 Posts: 458
|
Posted: Mon May 12, 2008 8:02 pm Post subject: Quickly extract, delete, list, etc. files from a TAR archive |
|
|
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 |
|