contents.gifprev.gifnext.gifhome.gif

EXAMPLES OF THE ADD COMMAND

'LZX a myarchive.lzx testfile.txt' would add the file 'testfile.txt' to the
archive 'myarchive.lzx'.  However, if 'testfile.txt' were already present in
the archive, then it would not be added.  If 'myarchive.lzx' didn't exist at
the time the command was invoked, then 'myarchive.lzx' would be created as a
new archive.

'LZX a myarchive newfile.txt' would perform exactly the same operation as the
above, since LZX would automatically append the '.lzx' extension onto the
archive name 'myarchive'.  To alter this behavior, the -X option can be used.

'LZX a myarchive *.txt *.doc test.tmp' would add to the archive
'myarchive.lzx' all files ending in '.txt', '.doc', and the file 'test.tmp'.

'LZX a myarchive.lzx subdir/newfile.txt' would add the file
'subdir/newfile.txt' to the archive 'myarchive.lzx'.  The file would be stored
as 'newfile.txt' within the archive; that is, the 'subdir/' prefix would not
be preserved.  In order to have the file stored as 'subdir/newfile.txt' within
the archive, the -x option would be required: 'LZX -x a myarchive.lzx
subdir/newfile.txt'


contents.gifprev.gifnext.gifhome.gif