Maybe it would be nice if some script wizard would make a general little mac script that would allow people to just replace the program and play around with the parameters.
can someone help please?
would this be enough to be saved in an .rtf file in the script folder set in the config? Does .iso after the filename $3 only take the iso file or files?
Code: Select all
dirname=$1
filename=$3
/Applications/extract-xiso -x "$1/$3.iso"
if the usage is as follows:
Code: Select all
Usage:
/Applications/extract-xiso [options] [-[lrx]] <file1.xiso> [file2.xiso] ...
/Applications/extract-xiso [options] -c <dir> [name] [-c <dir> [name]] ...
Mutually exclusive modes:
-c <dir> [name] Create xiso from file(s) starting in (local or remote)
<dir>. If the [name] parameter is specified, the
xiso will be created with the (path and) name given,
otherwise the xiso will be created in the current
directory with the name <dir>.iso. The -c option
may be specified multiple times to create multiple
xiso images.
-l List files in xiso(s).
-r Rewrite xiso(s) as optimized xiso(s).
-x Extract xiso(s) (the default mode if none is given).
If no directory is specified with -d, a directory
with the name of the xiso (minus the .iso portion)
will be created in the current directory and the
xiso will be expanded there.
Options:
-d <directory> In extract mode, expand xiso in <directory>.
In rewrite mode, rewrite xiso in <directory>.
This option is required when extracting to an ftp
server.
-D In rewrite mode, delete old xiso after processing.
-h Print this help text and exit.
-f <ftp_server> In create or extract mode, use <ftp_server> instead of
the local filesystem.
-m In create or rewrite mode, disable automatic .xbe
media enable patching (not recommended).
-p <password> Ftp password (defaults to "xbox")
-q Run quiet (suppress all non-error output).
-Q Run silent (suppress all output).
-u <user name> Ftp user name (defaults to "xbox")
-v Print version information and exit.