Help for this page

Select Code to Download


  1. or download this
    find -name '*FOO*' -maxdepth 1 -print0 | xargs -r0 perl -MFile::Copy -
    +e 'for(@ARGV){ $a=$_; s/FOO/BAR/; move($a,$_) }'
    
  2. or download this
    ls | grep FOO | xargs -r perl -MFile::Copy -e 'for(@ARGV){ $a=$_; s/FO
    +O/BAR/; move($a,$_) }'