#!/usr/bin/env bash
# Desc: Scan file system and update '.hidden' files to hide certain
# files based on filenames.
-# Version: 0.0.2
+# Version: 0.0.3
# Usage: bk-naut-hide [DIRS...]
yell() { echo "$0: $*" >&2; } # print script path and all args to stderr
if [[ ! -d "$1" ]]; then die "FATAL:Not a dir:$1"; fi;
# Search for files named '.hidden'
- find -L "$1" -type f -name ".hidden" 2>/dev/null
+ find "$1" -type f -name ".hidden" 2>/dev/null
}; # Return list of paths of '.hidden' files
main() {