Not really. In Windows, globbing (in Windows, only wildcards) is performed by the command; in *nix, globbing is done by the shell. Your first example would turn out something like this:
mv a.doc b.doc c.doc a.txt b.txt c.txt
Obviously, the utility has no clue what to do with this, and it shouldn't (ignoring things like mv
assuming you're trying to move into a directory). To perform something like what you want to do, you need to use something like this:
find . -name "*.doc" -print0 | xargs -0 -I {} mv {} {}.txt
# Or...
find . -name "*.doc" -exec mv {} {}.txt \;
Conveniently, there is also a utility included with Perl that can be used for the purpose of renaming files, appropriately called rename
.
rename 's/\.txt$//' *.doc