cuda version check

In bash you can use extglob:

$ shopt -s extglob  # to enable extglob
$ cp !(b*) new_dir/

where !(b*) exclude all b* files.

You can later disable extglob with

$ shopt -u extglob
Written on April 13, 2013