Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/sh
- #Bedoeling is ./find.sh directory bestandsType
- directory=$1
- bestandsType=$2
- echo "Welke rechten wil je geven (r/w/x)?"
- read keuze
- cd $directory
- for file in `ls .$bestandstype`
- do
- chmod u+$keuze $file
- done
Add Comment
Please, Sign In to add comment