LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous (more recent) messageNext (less recent) messagePrevious (more recent) in topicNext (less recent) in topicPrevious (more recent) by same authorNext (less recent) by same authorPrevious page (October 2001, week 5)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Mon, 29 Oct 2001 13:33:33 -0800
Reply-To:     Cassell.David@EPAMAIL.EPA.GOV
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         "David L. Cassell" <Cassell.David@EPAMAIL.EPA.GOV>
Subject:      Re: Zipping files using SAS
Content-type: text/plain; charset=us-ascii

Mike Rhoads replied: > I would try writing all of your ZIP commands into one BAT file and then > issuing one X command to execute the batch file, rather than issuing 100+ X > commands -- this should be faster and more reliable.

A good suggestion. If, however, you have a directory tree [or set of directory trees] to search, and you do not know all the filenames ahead of time, you may find it much easier to do this tesk with something more sophisticated than a batch file. A simple Perl program using the File::Find module to do the directory transits for you will take care of the problem, and you can call that with a simple X command [for pretty much any OS].

HTH, David -- David Cassell, CSC Cassell.David@epa.gov Senior computing specialist mathematical statistician


Back to: Top of message | Previous page | Main SAS-L page