http://www.perlmonks.org?node_id=764584


in reply to multiple file operations using perl one-liners

In terms of doing shell commands on a list of items, you might want to check out this old thing that I posted here long ago. It has saved me uncountable hours of time over the years in doing routine shell stuff on arbitrary sets of files -- I still use it daily: shloop -- execute shell command on a list.