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.

copy interrupted - how to confirm correct copy

Featured Replies

  • Author

its working. but not correctly. Its copying everything from that disck into the share "drives" . And it duplicate all of the files of the disk into that share. 

I need to compare what is in the disk "Events_1" to a folder in the share "drives" called  "Events_1" and copy the missing files from the disk to that folder inside the share. 

How do I stop the process at this point?

  • Community Expert
6 minutes ago, jonF said:

its working. but not correctly. Its copying everything from that disck into the share "drives" . And it duplicate all of the files of the disk into that share. 

I need to compare what is in the disk "Events_1" to a folder in the share "drives" called  "Events_1" and copy the missing files from the disk to that folder inside the share. 

How do I stop the process at this point?

You should be able to abort the rsync by pressing Ctrl-C at the command line.

 

Of course, the command you entered specified copying into the share. It didn't say anything about copying to a folder within the share.

 

It's a good idea to try to understand anything you enter at the Linux command line since it is very powerful and not designed to save you from yourself.

  • Author

gotcha , sorry. How would I indicate the folder inside of the share "drives" 

  • Community Expert

Do you understand file paths in Windows or another OS?

  • Author

Sort of , but I don;t know how they are indicated here.  

  • Author

would this be correct?

rsync -av --progress /mnt/disks/Events_1/ /mnt/drives/Events_1/

  • Author

Also, seems like  lot to ask but would you mind explaining what all of the pieces of that command line mean? or how I would find this out on my own.

Edited by jonF

  • Community Expert
25 minutes ago, jonF said:

would this be correct?

rsync -av --progress /mnt/disks/Events_1/ /mnt/drives/Events_1/

Close. Go back to the *LAST* example johnnie.black gave and see if you can figure out what you left out.

 

As mentioned, you can google rsync. I would have to google it myself to remember the exact meaning of some of the "switches" since I don't type it often. I think -av means archive verbose but I would check if I were you.

 

After the --progress switch, you have 2 paths, the source path and the (incorrect) destination path.

 

I already explained Unraid paths

8 hours ago, trurl said:

The actual paths to your array disks are /mnt/disk1, /mnt/disk2, ..., the path to cache is /mnt/cache, the path to Unassigned mounts is /mnt/disks, the path to user shares is /mnt/user.

  • Author

Thanks for hanging in there with me. 

Thanks so much for the guidance!!!

 

Under users is there is only one. the name is "root" 

 

How bout this 

rsync -av --progress /mnt/disks/Events_1/ /mnt/root/drives/Events_1/

  • Community Expert
53 minutes ago, jonF said:

Thanks for hanging in there with me. 

Thanks so much for the guidance!!!

 

Under users is there is only one. the name is "root" 

 

How bout this 

rsync -av --progress /mnt/disks/Events_1/ /mnt/root/drives/Events_1/

No that's not it.

 

The "users" you are referring to there are the users that are allowed access to Unraid. It is the "user shares" we are talking about, which are the shares (network folders) Unraid makes available. You have a user share named "drives". See my previous explanation of Unraid paths for where the user shares are and put that together with the rsync command  you used earlier for copying to a user share, except you want to get to a lower level in that path, which is a folder within that user share.

  • Community Expert

Probably you were confused because I said the user shares were at /mnt/user, and you thought you had to substitute a username for "user". No substitution. The user shares are in /mnt/user, such as /mnt/user/disk1.

  • Author

Thank Trurl.. you're a good teacher.

 

rsync -av --progress /mnt/disks/Events_1/ /mnt/user/drives/Events_1/

  • Author

before I run it I'll need confirmation. I'm pretty sure this is it. But would be great to just have  the thumbs up.  :)

  • Community Expert
35 minutes ago, jonF said:

Thank Trurl.. you're a good teacher.

 

rsync -av --progress /mnt/disks/Events_1/ /mnt/user/drives/Events_1/

You got it!

  • Author

Thanks! 

Thanks again for your mentoring!

  • Author

It worked, It copied the missing files . the final result is that there are now  the same number files in the source disk and the destination.

Thanks everyone for the help!

  • Community Expert

👍

  • Author

 

Does the terminal (command prompt window) need to be visible for it to continue working

If I close the browser or unraid tab will it be there continuing when I reopen it like it happens with  Krusader?

thanks

  • Community Expert

I seldom use the terminal window since it is a new feature and I have been using ssh with puTTY for years. Even there you have to be running in a screen session to allow it to disconnect and reconnect. I assume screen would be required for the terminal window also. You can install screen from the Nerd Pack and google 'linux screen command' for how it works.

  • 8 months later...
  • Author

Hi 

I used this a while ago but am now not sure of something that you all said. 

If I use this at the c prompt  rsync -av --progress /mnt/disks/Events_1/ /mnt/user/drives/Events_1/

and then interrupt the copy and restart the copy will it only copy the remaining files? If I run it immediately after the copy is complete will it just do nothing having confirmed that all the files are the same in each? If that is not what this code will do can someone give me the code that could do that please. 
Thanks!!!

Jonf

 

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.