If I have two files (in a folder with similarly numbered files) such as
foo.18
foo.19
And I want to use a glob on them, do I do it like so:
cp -r /folder1/*.{19,20} /folder2/
or like so?
cp -r /folder1/{*.19,*.20} /folder2/
Neither seem to expand out when I tap tab.
Is one 'better than the other? What order does it expand in? Will it ever matter?