Tip: coping to multiple targets by prefix

If you need to copy one folder to multiples targets using him relative name, you can use xargs for echo command:

[bash]echo target_*/[/bash]

This will return all your target folders:

[bash]target_a target_b target_n[/bash]

Now, combine the xargs output as parameter for /bin/cp command, specifying the source of copy:

[bash]echo target_* | xargs -n 1 /bin/cp source/* -Rfv[/bash]

Now, all your targets will have the same files.

References

http://manpages.ubuntu.com/manpages/precise/man1/xargs.1.html

http://manpages.ubuntu.com/manpages/hardy/en/man1/cp.1posix.html