In Linux, I know the command mv !(folder1|folder2) folder1
if I want to move all files in current folder, excepted folder1 and folder2, and move they in folder1
. But these commend, doesn't work in mac terminal!
Where is the equivalent command in mac?
shopt -s extglob