On Wed, Jan 08, 2003 at 04:10:10PM +0100, Mat wrote: > I have to periodically copy a lot of files filtering them by their extensions >(something like > cp * but *.bak). How can I do that (as I can read from cp' man or info page this is >not > possible)? > Thanks > Mat
Depends on your shell (which globs * before passing it to cp). zsh (of course:) can do this simply: $ cp *~*.bak /blah/ -rob
msg23817/pgp00000.pgp
Description: PGP signature