Hi Daniel. Jason's suggestion is a good one. I would add that you can avoid over-writing the input files, by adding the --postfix option.
While this is a solution for this specific problem, as a more general suggestion, it is well worth your (or anyone's) time to learn a few simple shell-scripting constructs. They will make your life (unless you are using Windows) much easier with EMAN2 and pretty much any other command-line software. For example:
say you have the files a01.hdf - a99.hdf in the current directory, and you wish to shrink and low-pass each of them into a new folder with the same name, you could do this from your standard bash shell (if you use csh/tcsh, the syntax is slightly different):
mkdir newfiles
for i in *hdf
do
e2proc2d.py $i newfiles/$i --process=filter.lowpass.gauss:cutoff_freq=0.05 --meanshrink=2
done
There are many more advanced things you can do with this with just a few simple tricks. For example, if you also wanted to change the .hdf files to .mrc files in this operation:
for i in *hdf
do
e2proc2d.py $i newfiles/${i%%.hdf}.mrc --process=filter.lowpass.gauss:cutoff_freq=0.05 --meanshrink=2
done
There are many good guides on the web on shell scripting. Knowing a few of these tricks can save you a LOT of time and effort.