LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Need to rsync 8 different filesystems into one new filesystem - Help, please!! (https://www.linuxquestions.org/questions/linux-newbie-8/need-to-rsync-8-different-filesystems-into-one-new-filesystem-help-please-852687/)

kmagitz 12-27-2010 04:57 PM

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

Tinkster 12-27-2010 07:20 PM

Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread is being closed because it is a duplicate.


Closing the original in favour of the more sensibly
placed Dupe


All times are GMT -5. The time now is 05:26 AM.