projects
/
BK-2020-03.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
feat(user/rand_media_pl.sh):Script to play random position of media
[BK-2020-03.git]
/
user
/
bk-naut-hide
diff --git
a/user/bk-naut-hide
b/user/bk-naut-hide
index e623dcc182a066760e3967b19c8b8000714bda3c..7f244964fb2c5cf82f46b091ca6542fc8ab2470c 100755
(executable)
--- a/
user/bk-naut-hide
+++ b/
user/bk-naut-hide
@@
-1,7
+1,7
@@
#!/usr/bin/env bash
# Desc: Scan file system and update '.hidden' files to hide certain
# files based on filenames.
#!/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
# Usage: bk-naut-hide [DIRS...]
yell() { echo "$0: $*" >&2; } # print script path and all args to stderr
@@
-173,7
+173,7
@@
get_paths_dothide() {
if [[ ! -d "$1" ]]; then die "FATAL:Not a dir:$1"; fi;
# Search for files named '.hidden'
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() {
}; # Return list of paths of '.hidden' files
main() {