Merge branch 'master' of feistymeow.org:feisty_meow
[feisty_meow.git] / scripts / files / harsh_perm.sh
diff --git a/scripts/files/harsh_perm.sh b/scripts/files/harsh_perm.sh
deleted file mode 100644 (file)
index f08c77d..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
-#!/bin/bash
-# harshperm traverses directory trees and sets the permissions to a restricted
-# value (rwx------ for directories and rw------- for files).
-
-declare -a args=("$@")
-
-if [ -z "${args[*]}" ]; then
-  echo "no arguments provided."
-  exit 1;
-fi
-
-for (( i=0; i < ${#args[*]}; i++ )); do
-  current="${args[i]}"
-#  echo "curr is $current"
-
-  find "$current" -type d -exec chmod 700 {} ';'
-# >/dev/null 2>/dev/null
-  find "$current" -type f -exec chmod 600 {} ';'
-# >/dev/null 2>/dev/null
-done