Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: OT: Advantage of not expanding wildcard in the shell

by cog (Parson)
on Jan 28, 2005 at 16:32 UTC ( #426026=note: print w/replies, xml ) Need Help??


in reply to OT: Advantage of not expanding wildcard in the shell
in thread using wildcard character * in perlscript command line

You just have to quote the arguments, and they won't be expanded:

move "*.txt" "*.html"

Of course the move command displayed here is just an example, which you'd have to code yourself...