Amiga.org

Amiga computer related discussion => Amiga Software Issues and Discussion => Topic started by: pyrre on April 17, 2007, 09:39:10 PM

Title: Programing...
Post by: pyrre on April 17, 2007, 09:39:10 PM
Hello guys,

I'm about to configure Dopus. But I have forgotten some essential programing skills.

The LZX compressor tool needs input of filename, location and destination directory...

What is the wildcards settings...?

Like:
LZX <
Title: Re: Programing...
Post by: neuroflip on April 17, 2007, 09:42:13 PM
#?
Title: Re: Programing...
Post by: Karlos on April 17, 2007, 09:44:14 PM
AmigaDOS wildcard support is a bit more extensive than the old asterisk.

If you are looking for "matches anything", you want #? which tranlates into "match any number of any class of character"

For compressing a folder recursively the following LZX syntax works fine for me:

lzx a -a -r -e -x somefilename.lzx foldername/

-a: preserve file attributes
-r: recurse
-e: archive empty directories
-x: preserve path (this may be default anyway, I can't recall)