Welcome, Guest. Please login or register.

Author Topic: Programing...  (Read 972 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline Karlos

  • Sockologist
  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Nov 2002
  • Posts: 16881
  • Country: gb
  • Thanked: 5 times
    • Show all replies
Re: Programing...
« 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)
int p; // A