Xref: utzoo comp.binaries.ibm.pc.d:7432 comp.sys.ibm.pc:48143 Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!umich!yale!think!samsung!uunet!zephyr.ens.tek.com!tekcrl!tekgvs!toma From: toma@tekgvs.LABS.TEK.COM (Tom Almy) Newsgroups: comp.binaries.ibm.pc.d,comp.sys.ibm.pc Subject: Re: is there an archive pgm with an -except flag? Keywords: arc Message-ID: <7269@tekgvs.LABS.TEK.COM> Date: 7 Apr 90 22:18:37 GMT References: <1649@wjvax.UUCP> Reply-To: toma@tekgvs.LABS.TEK.COM (Tom Almy) Followup-To: comp.binaries.ibm.pc.d Organization: Tektronix, Inc., Beaverton, OR. Lines: 22 In article <1649@wjvax.UUCP> mario@wjvax.UUCP (Mario Dona) writes: >The other day I needed to archive a large directory, but didn't want to >include certain files. Which got me to thinking... is there an archive >program that takes an "except" argument? >In my application, it would be used in a batch file; for example, > archivecmd -add -except (*.mdx *.dbo) stuff.arc *.* One generic solution to the problem is to use the 4DOS command.com replacement. It has an EXCEPT built-in command: EXCEPT (*.mdx *.dbo) archivecmd -add stuff.arc *.* will work for any "archivecmd" (or any other command, for that matter). Tom Almy toma@tekgvs.labs.tek.com Standard Disclaimers Apply (A very happy 4DOS user)