You can try something like:
for f in $(ls folder/*.hdf); do echo "Converting ${f}..."; e2proc2d.py
$f ${f%\.hdf}_converted.mrc; done
Corrections invited.
P
On 12/12/2018 11:35, Sonya James wrote:
> Hello,
>
> I would like to convert Eman .hdf files to .mrc files. I can use;
>
> e2proc2d.py folder/image.hdf image.mrc
>
> to change one image - can I use it to convert all the images in a folder and what do I need to type (I'm a newbie to all this so need step by step instructions!)?
>
> Thanks
> Sonya
>
> ########################################################################
>
> To unsubscribe from the CCPEM list, click the following link:
> https://www.jiscmail.ac.uk/cgi-bin/webadmin?SUBED1=CCPEM&A=1
--
Paul K. Korir, PhD
3D Visualisation Lead
CS3DB
EMBL-EBI
01223494422
########################################################################
To unsubscribe from the CCPEM list, click the following link:
https://www.jiscmail.ac.uk/cgi-bin/webadmin?SUBED1=CCPEM&A=1
|