Category: bash
-
the “bash” utility has an switch to deal with shell patterns that do not resolve – what’s its name?
https://en.wikipedia.org/wiki/Bash_(Unix_shell) $ shopt -s nullglob I am making use of that feature in this script: https://github.com/JochenHayek/misc/blob/master/renaming_scanner_files/WhatsApp.rename.sh