Recursive move utility on Unix?
- by Thomas Vander Stichele
Sometimes I have two trees that used to have the same content, but have grown out of sync (because I moved disks around or whatever). A good example is a tree where I mirror upstream packages from Fedora.
I want to merge those two trees again by moving all of the files from tree1 into tree2.
Usually I do this with:
rsync -arv tree1/* tree2
…