I put together a script to do some file operations for me. I am using the wild card operator
* to apply functions to all files of a type, but there is one thing I don't get. I can
unzip all files in a folder like this
However, to remove all zip files afterward, I need to do
That is, it does not want the quotation marks. The unzip, on the other hand, does not work if I just give it the * (gives me a warning that "files were not matched").
Why is this different? To me, this seems like the exact same operation. Or am I using the wild card incorrectly?
Introductions to the wild card in Unix do not really go into this, and I could not locate anything in the
I am using the terminal on a Mac (Yosemite).