Say I have a bunch of directories for example:
Code:
/var/lib/a/
/var/lib/b/
/var/lib/c/
I have another external hard drive with these directories:
Code:
/var/lib/d/
/var/lib/e/
/var/lib/f/
I want to copy over /var/lib/{d,e,f} to the first /var/lib/ directory, without making {a,b,c} disappear. Won't "cp -R var/lib/* /var/lib/" erase a, b, and c? So the result would be:
Code:
/var/lib/d/
/var/lib/e/
/var/lib/f/
instead of:
Code:
/var/lib/a/
/var/lib/b/
/var/lib/c/
/var/lib/d/
/var/lib/e/
/var/lib/f/
(which is how I'd want it)