updating a directory
I have 2 directory's a/ and b/. I do
cp -u -R a/ b/ -v
to update b/ what happens is a/ gets copied into b/a/. I want b/ to be exactly like a/. I could remove b and copy a to b but thats to many files even if it copies each file disregarding if its unchanged is alot of files.
How may I update b/ to match a/?