home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ARM Club 3
/
TheARMClub_PDCD3.iso
/
hensa
/
disk
/
archive
/
extarct_1
/
!ReadMe
next >
Wrap
Text File
|
1995-08-20
|
4KB
|
132 lines
ExTARct - RISC OS tar file extractor.
--- Copyright Notice
This software is Copyright 1995 Kevin F. Quinn
No warranty, express or implied, is made about the
reliability or fitness for purpose of this software. Use of
the software is entirely at the user's own risk. The author
accepts no responsibility for any damage arising from use of
the software.
--- Software Licence
Permission is hereby granted for the user to execute the
software, at no charge. Distribution of the software is
permitted provided that the software, including the
executable, the source files and all documentation is
unmodified.
Source code is provided so that users may inspect the source
and compile the software themselves if required, to ensure
that the executable contains no virus.
--- Manifest
The software distribution contains the following files:
File Size Description
!ReadMe 4027 This file
c.ExTARct 18973 C Source for most of ExTARct
ExTARct 31663 Built binary executable
h.tar 923 Header file defining tar blocks
Makefile 686 Acorn C version 5 Makefile
If the distribution you have received does not match the
above, please contact me at the address given at the bottom
of this file.
--- Description
ExTARct is a utility to facilitate the unpacking of tar
archives under RISC OS, to overcome the 77-file per
directory limit that we appear to be lumbered with for the
forseeable future. It also swaps filenames and types where
requested, using the filetype as a subdirectory name.
--- Instructions
ExTARct is a command line utility. Basically, I can't be
bothered with making a fancy wimp front-end for what is
essentially a widget that is likely to be used occasionally,
by people porting software from other platforms.
It takes a tar file, and optionally a configuration file,
and extracts the contents of the archive. The configuration
file lists the file types that should be "swapped", and also
indicates which of these should be split into
subdirectories.
Syntax:
ExTARct [options] <tarfile>
where options are as follows:
-v The ubiquitous verbose option
-d <number> The number of files to one directory
(default 60)
-t <filename> Filename listing types to swap, tagged
for directory split
(default is no swaps, no directory splits)
-l List operations (i.e. file mappings) without
doing anything really
-p <prefix> Prefix for directory splits (default none)
Which should be fairly self-explanatory. The format of the
configuration file is one filetype per line, with a "*"
following all filetypes that should be split. Lines
starting with "#" are ignored. Note that any '*'s must be
separated from the filetype by whitespace.
An example configuration file:
# List of types to invert for GNAT
# Note that '*' indicates that files of that type also
# get an extra directory (grr...)
c
h
adb *
ads *
spt
adt
Where a tar archive entry is a link to another file,
ExTARct will generate a !LinkFS link. !LinkFS can be
obtained from all good free software archives.
--- "Features" (i.e. restrictions ;) )
Note that splitting up of directories is not done for all
directories with more than the specified number of files -
only for the swapped filetypes specified in the
configuration file. Future versions might do things more
intelligently. For now, the current operation is all I
need, so it does the job I want it to do.
ExTARct also makes no attempt to resolve the filename length
restriction. To solve this problem, use !LongFiles,
available from all good free software archives. In the
future, it is possible that a crunching option may be
implemented, but I make no promises.
--- Contacting the Author
If you have any suggestions, bug fixes, questions etc. or
just want to contact me for the hell of it, send EMail to
kevq@banana.demon.co.uk. I welcome any feedback.
Kevin F. Quinn
August 1995