Is there a way to handle bash v4 shell inversions, i.e. to process all files NOT as a wildcard? I need rm
all files that are not in the format of 'Folder-???'
in this case, and wondered if there is a shorter (i.e. built-in) way, and then
for file in * do [[ $i =~ \Folder-...\ ]] && rm '$i' done
loops. (example does not work, btw ...)
Just from bash studying curiosity ...
source share