File: cleanperms

package info (click to toggle)
prrte 4.0.1-2
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 9,108 kB
  • sloc: ansic: 81,373; sh: 4,289; perl: 3,150; makefile: 1,878; python: 610; lex: 352
file content (11 lines) | stat: -rwxr-xr-x 635 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
#!/usr/bin/bash

find . -type f -name "*.c" -perm /u+x -print -exec chmod -x {} \;
find . -type f -name Makefile.am -perm /u+x -print -exec chmod -x {} \;
find . -type f -name "*.h" -perm /u+x -print -exec chmod -x {} \;
find . -type f -name Makefile.include -perm /u+x -print -exec chmod -x {} \;
find . -type f -name Makefile -perm /u+x -print -exec chmod -x {} \;
find . -type f -name "*.m4" -perm /u+x -print -exec chmod -x {} \;
find . -type f -name "*.ac" -perm /u+x -print -exec chmod -x {} \;
find . -type f -name "*.txt" -perm /u+x -print -exec chmod -x {} \;
find . -type f -name "*.l" -perm /u+x -print -exec chmod -x {} \;