News for hackers. Stuff that matters.
Re:Unix Wildcards Gone Wild by dijit on Sunday August 17, 2014 @06:18PM (#8190655)
escape it, since you know the shell is going to be greedy about things.

rsync accepts globbing it's not a shell expansion that makes it work.

     rsync example.com:/foo/\* .
Re:Unix Wildcards Gone Wild by lobster_johnson on Sunday August 17, 2014 @08:28PM (#8190970)
Well, the problem is that "example.com:/foo/*" isn't actually a local path that can ever be globbed by zsh alone -- it's an rsync/ssh/scp-style remote path, yet zsh interprets it as such. Not sure why. I think the solution is make sure zsh ignores arguments containing colons, but I don't know what the config option is for that.

Edit: Just remembered that zsh's over-eager globbing also fails with git -- eg., "HEAD^" must be quoted.