0
I would like to delete everything in one folder, with exception of two files: exec.js .git I found this: rm !(exec.js|.git) Which works in the CL, but when i try to store in a sh file, and call with bash file.sh, this happens: test.sh: line 1: syntax error near unexpected token (' test.sh:...