Today I (frustratingly) learned that if you pass in a wildcard path to a bash script, each of your arguments then becomes one of those files! Either pass the plain dir and do wildcard in your script, or use getopts and pass in arguments as options.

12:45 AM ยท Dec 5, 2020

0
0
1