Hi Justin,

Following up with a web page reference on regular expressions.
I'm sure there are better examples around, but try this one on
using regular expressions from the University of Virginia:

http://etext.virginia.edu/services/helpsheets/unix/regex.html

and look through some of the examples.  Interact with the groups
of characters to get the search syntax character by character.

Also, some expressions like {num}  (meant to indicate a number
inside of right and left braces) indicate match the previous element
the specified number of times, while {min,max} indicate that "min"
and "max" are also number variables inside right and left braces,
and that you match the previous element at least min times but
no more than max times.

Surprisingly hard to find a good web page on regular expressions
that doesn't have lots of inaccessible links or go off into discussions
of perl or python or grep or something else.  Even this page is
more than you need to read through.  Just use it for some of the
basic matching syntax for filenames and practice with some 
harmless "ls" commands to list files.

HTH 

Cheers,

Esther

P.S. In my previous post example I should have said that 
"?" matches any single string or the null string, too.

Justin asked: 
>I generally use the mv command in terminal to move stuff around but I  
>have wanted to be able to move multiple files at once.  Does anyone  
>know if there is a syntax that you can use to indicate multiple files  
>for an action like mv or cp?  Perhaps a , between the paths, or  
>something?
>
>Regards
>Justin Harford

Reply via email to