Karl-Mac-mini:find karl$ find . -type f -name "*.txt" | xargs ./perl.p +l bar foo
Update: or find . -type f -name "*.txt" -exec ./perl.pl {} \;
Update: For xargs vs exec see: 1 2 3
Regards, Karl
«The Crux of the Biscuit is the Apostrophe»
In reply to Re: How can I run an folder full of text files through a perl script?
by karlgoethebier
in thread How can I run an folder full of text files through a perl script?
by Dr Manhattan
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |