Yes, the find command is a bit too much for me in.. regular interactive
use - i.e. if it has even an outside chance of doing something I might
regret, I usually choose to run a test first.. and if still in doubt..
I back up the target tree(s).
As to dotglob, I knew of its existence.. but it never made it to my
active vocabulary.
The problem with ‘shopt -s dotglob; command’ is that it leaves the
option set for the ensuing session.
Apart from POSIX conformity, Is there a downside to having it on at al
times.?
Maybe I should write a ‘dg’ wrapper function..
Thanks,
CJ
--
ALL YOUR BASE ARE BELONG TO US!