Need to rsync 8 different filesystems into one new filesystem - Help, please!!
Good afternoon and happy holidays. I need to combine 6 different filesystems into one filesystem using rsync. I am so confused as to which parameters I need to use.
The 6 fileystems are:
/mnt/tkpkgc1a/vol/mn_pkg_08_02/
/mnt/tkpkgc1a/vol/mn_pkg_08_01/
/mnt/tkpkgc1a/vol/mn_pkg_06_09/
/mnt/tkpkgc1a/vol/mn_pkg_08_14/
/mnt/tkpkgc1a/vol/mn_pkg_09_20/
/mnt/tkpkgc1a/vol/mn_pkg_09_17/
These all need to be merged into a filesystem called:
/mnt/tk6030-1/vol/mn_pkg_08_02/
I know what the first step will be:
time rsync -av --progress /mnt/tkpkgc1a/vol/mn_pkg_08_02/* /mnt/tk6030-1/vol/mn_pkg_08_02/ &
However, what next? What will be the options to append the rest of the filesystems, above, into /mnt/tk6030-1/vol/mn_pkg_08_02/ ??
Nothing will need to be deleted. There will be duplicate relative file paths - alot of the directories and sub-directories will be identical between all of these filesystems, but all files will be unique. I basically need to combine all of these 6 filesystems into one new filesystem without deleting anything. Just appending into one. In other words, the resulting size of the one new filesystem should be the sum of all 6 filesystems together.
Thanks much, and God bless.
km
|