foreach.pl is a perl script that runs a command on multiple files. It is not as mighty as find's execute function, but much easyier to use and it's syntax should be much better to remember.
The programm accepts various parameters in the given command which are substituted by different parts of the actual filename.
The following parameters can be used:
The script assumes ā<command> %lā as given command when no parameter is used. Special chars in each parameter are quoted by the script.
Download: foreach.tgz
This is the personal web site of Andreas Gohr
- human being, blogger and web geek from Berlin, Germany.
This page was last updated at
2005/11/25 12:13.
Imprint/Impressum
Tagged at del.icio.us:
No tags, yet. Why don't you bookmark it?
Most popular:
Elsewhere:
Recent readers: