http://qs1969.pair.com?node_id=764547


in reply to Re: multiple file operations using perl one-liners
in thread multiple file operations using perl one-liners

-n + chomp can be replaced with -nl.

That should be /\t/, I think? -a would be better than split

du -b */*/old.zip | perl -F\\t -lane'system zip => "-d", $F[1], "*exe* +"'

Or shorter and simpler yet:

du -b */*/old.zip | perl -ne'system zip => "-d", /\t(.*)/, "*exe*"'

My earlier comment on error checking still applies.