Guest User

Untitled

a guest
May 23rd, 2018
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.21 KB | None | 0 0
  1. #!/bin/sh
  2. #Bedoeling is ./find.sh directory bestandsType
  3. directory=$1
  4. bestandsType=$2
  5. echo "Welke rechten wil je geven (r/w/x)?"
  6. read keuze
  7. cd $directory
  8. for file in `ls .$bestandstype`
  9. do
  10.    chmod u+$keuze $file
  11. done
Add Comment
Please, Sign In to add comment