How do you feed in an entire directory of input files using cat in Unix?

Posted by Sam on Stack Overflow See other posts from Stack Overflow or by Sam
Published on 2010-04-20T21:44:54Z Indexed on 2010/04/20 21:53 UTC
Read the original article Hit count: 201

Filed under:
|

I'd like to run a program on a directory of files. I know how to do this with one file, using

cat myFile.xml | myProgram.py.

How can I run myProgram.py over a folder, say myFolder?

Thanks!

© Stack Overflow or respective owner

Related posts about unix-programming

Related posts about unix