curl is not friendly with GLOBIGNORE.
But, may I ask, what are you trying to achieve anyway with your curl
command?
If you're trying to use the asterisk to get all matching files under a remote directory (such as curl "http://www.example.com/*"
), then that's not going to work anyway. curl
cannot list files under a remote directory or make the webserver extend the asterisk.
If the asterisk is meant for --noproxy
parameter, you can use the alternative approach instead:
curl --noproxy `ls *` "http://www.google.com"
That will list the files/folders in your current dir after --noproxy
, with exception for files/folders starting with a dot.