Help for this page

Select Code to Download


  1. or download this
    find . -type d -exec chmod 0755 {} \;
    find . -type f -exec chmod 0644 {} \;
    
  2. or download this
    #!/usr/bin/perl -w
    use strict;
    ...
      { wanted => sub{ chmod((-f)?0644:0755,$_) if -d||-f } 
      }, defined $ARGV[0] ? $ARGV[0] : '.'
    );