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

Popular posts from this blog

windows - Single EXE to Install Python Standalone Executable for Easy Distribution -

c# - Access objects in UserControl from MainWindow in WPF -

javascript - How to name a jQuery function to make a browser's back button work? -