<code>function mv1 { mv -n $1 "targetdir" -v |wc -l ;}
mv1 *.png
</code>
It does only move the first *png* file it finds, not all of them.

### How can I make the command apply to all files that match the wildcards?