Files
LEMPer/scripts/fixpermission.sh
Edi Septriyanto 891fcac73e initial commit
2017-08-30 22:15:00 +07:00

9 lines
203 B
Bash
Executable File

#!/bin/sh
# usage:
#####################################################
# directory
[ "$1" = "" ] && return 0
find $1 -type d -print0 | xargs -0 chmod 755
find $1 -type f -print0 | xargs -0 chmod 644