Saturday, March 31, 2007

Deleting multiple catalog files

You just made lots of images with lots of facets, but you messed up and some need to be deleted. You don't want to ZAP everyone individually! Here's a simple "for" loop you can type into the command line, that will delete the files numbered 400-405:

for i=400 to 405; getn i; zap; end

If you want to be cautious, leave out the 'zap' the first time you run the loop, to list the files and make sure you're about to delete the correct ones!

2 comments:

emily said...

or you can use ALLDEST which will let you select on the name of the file instead of the number and you can use wildcards like * and ? to choose multiple files.

Anonymous said...

thanks