Skip to main content
3 of 3
formating
hildred
  • 5.9k
  • 3
  • 33
  • 43
find "/path/to/directory-A/" -name "*.f90" -exec /path/to/callf2py {} \; 

callf2py:

#!/bin/sh f=$(basename $1) f2py -h $f.pyf -m $f.f90 
Jeff Schaller
  • 68.9k
  • 35
  • 122
  • 268