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.

Moving files between shares (different disks)

Featured Replies

Just started using Unraid and love it! I have 6 disks (excluding parity). Disks 1 - 3 are for my Movie share. Disks 4 and 5 have a Temp share that I dumped all of my files on to sort. Once sorted I move them to the appropriate share (not disk) using Krusader. The problem is Unraid doesn't seem to copy the files to disks 1 - 3 but instead makes a folder on disk 4 (or 5) called Movies and puts them there. So I either need to use unbalance or Krusader to move the files between disks. Normally this is not a problem but I want to avoid duplicate movie (folders). Since they are spread over disks 1 - 3 (I have split level 2) it seems impossible for me to check if they exists in the share first. For example, when everything was on disk 1 (before it filled > 50%) it was easy to see if a directory existed when moving files. However, now that the movies are on two disks, this is next to impossible. Running unbalance, it wants to move files from disk 1 as well as disk 5 to disk 2 and will take a long time.

 

Is there an easier way ti accomplish this? Perhaps some setting in unraid to actually move files to the disk a share is on?

 

Thanks for the help.

 

 

Edited by jserio

Hi and Welcome,

I'll admit I rarely use GUI tools when a cli alternative is available - so my suggestion might not work for you. First, you could try using the command mc on the terminal - I believe this gives you a semi graphical way to manipulate the files on your server more directly.

Now - and this is VERY important - you'll see under /mnt/ there's disks and user and possibly cache folders. You must avoid moving from disk(s) to user and vice versa. Reason is that /mnt/user is the 'merged' disk space that makes unraid so useful to many people - it's already 'merged' the contents of the disks - and thus copying/moving from disk to user is a bad idea. Move from disk to disk only - or as you're doing (even if it's not obvious) move within /user only.

You can use Midnight Commander (mc on command line) to move between disks relatively easily I'm told.

If you're good at bash, this can also be accomplished in many ways - I manually manage my video files this way.

For example, we'll use moving a file test between disk one and disk two:

mv /mnt/disk1/MyShare/test /mnt/disk2/MyOtherShare/test  

Note this could be the same Movie share on each disk - it's doesn't really matter

You could also use find to locate and move specific files - for example to move all mkv files to disk2:

find /mnt/disk1/MyShare/ -iname *.mkv -exec mv {} /mnt/disk2/MyOtherShare/ \;

 

This is kinda what I do for work, so it might be much more complicated that you need but this is how I'd approach this issue. The find command is particularly useful as you could for example find and move all files that start with 'a' or essentially whatever criteria you like - the thing is - do it first omitting the part starting with -exec - that'll give you a list of the files it'll then execute when you put the -exec part in.

I'm happy to provide more but this could well be puzzling enough.

Del

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.