Copy single file in multiple folder using bash shell

Recursive copy

echo folder1 folder2 folder3 | xargs -n 1 cp -f file

or

echo folder*/ | xargs -n 1 cp -f file

Comments

Popular posts from this blog

VMD High Resolution Image and Movie

Inset Plot in GRACE (Xmgrace)