unix command to copy multiple files from different directories to one new directory -
i newbie unix command usage. ask if there way copy multiple files multiple directories 1 new directory? example:
in /tmp/dira --> contains file a.run.log , a.skip.log in /tmp/dirb--> contains file b.run.log , b.skip.log in /tmp/dirc --> contains file c.run.log , c.skip.log
and have
a.run.log a.skip.log b.run.log b.skip.log c.run.log c.skip.log
into new folder called /tmp/dirnew
is there unix command able it? appreciate it. thank you.
js
use :
cp /tmp/dir?/* /tmp/dirnew
Comments
Post a Comment