Help for this page

Select Code to Download


  1. or download this
    perl -pe 'next if /^(\s*)#/' file.conf > clean-file.conf"
    
  2. or download this
    perl -e "for(glob '*.xls'){$o=$_; s/(\.xls)$/.old$1/i;rename $o,$_}"
    
  3. or download this
    perl -e "for(glob '*'){next unless -f;@s=stat;unlink($_) if (time-$s[9
    +])>60*60*48;}"
    
  4. or download this
    perl -MFile::Find -e "find(sub{@s=stat;unlink if (time-$s[9])>60*60*48
    + && -f},'.')";