Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Question about rsync and copying files from different sources into the same folders

Featured Replies

Lets say I am copying files from one External HDD A to Unraid. Afterwards, I need to copy files from External HDD B to Unraid. Both external HDDs have the same folder structure, but with different files inside. For example, both external HDDs might have folders called: "Movies" "Documents" "Pictures", etc. But the files within them are completely different.

I've already copied the contents of External HDD A to Unraid. Now I need to copy the contents of External HDD B as well. How can I copy them and merge the folders? I don't want to lose any files or have anything overwritten. If I had a big enough external hard drive to begin with, I wouldn't be in this mess, but here we are.

The rsync command I used was

rsync -avh --progress /mnt/disks/External_HDD/ /mnt/user0/Username

Can I use this command again and have it automatically continue copying new files into existing folders without any disruptions? Or is there a different command I need to use? Or do I need to copy it to a different location on Unraid and then use Krasder or MC to move everything over?

Thanks

Edited by shaz
Typo

  • shaz changed the title to Question about rsync and copying files from different sources into the same folders
  • Community Expert

The recommended way to work with Unraid is by creating user shares, such as 

33 minutes ago, shaz said:

"Movies" "Documents" "Pictures", etc.

Then, you put files in those user shares and let Unraid take care of which disks they wind up on. So, if you put things in your Movies share, then later add more things to your Movies share, it is just like adding more files to that folder.

  • Author

The problem is this is a 14TB external HDD with over 300,000 files. From hereon out your suggested method is how I will put files in, but for now I need to get all the data into Unraid. 

  • Community Expert
6 hours ago, shaz said:

Can I use this command again and have it automatically continue copying new files into existing folders without any disruptions?

Yes if there are no repeat files, if the same file exists on the 2nd disk and is different it will overwrite the existing one.

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.