Is there any advantage to this variant? It's longer and buggy (missing chomp). It's also less clear due the weird use of => to separate two of three arguments, especially when it's also used to associate the arguments to the command.
Either way, I just realised du is useless.
perl -e'system zip => "-d", $_, "*exe*" for @ARGV' */*/old.zip
|Replies are listed 'Best First'.|
Re^5: multiple file operations using perl one-liners
by jwkrahn (Monsignor) on May 18, 2009 at 06:00 UTC
by ikegami (Pope) on May 18, 2009 at 07:10 UTC