Kilrah Posted December 16, 2022 Share Posted December 16, 2022 maybe you mean mv /mnt/disk4/* /mnt/disk1/ ? 2 Quote Link to comment
JorgeB Posted December 16, 2022 Share Posted December 16, 2022 Just now, Kilrah said: maybe you mean Yes, thanks, I was thinking of rsync, the command you had won't work. 1 Quote Link to comment
guigz Posted December 16, 2022 Author Share Posted December 16, 2022 Not sure what I should do next Quote Link to comment
Kilrah Posted December 16, 2022 Share Posted December 16, 2022 Seems you already have folders (partial copy?) on the destination. Use rsync instead of mv. 1 Quote Link to comment
guigz Posted December 16, 2022 Author Share Posted December 16, 2022 (edited) With the * or without? There are folders on the destination because the share are set to high water Edited December 17, 2022 by guigz Quote Link to comment
Solution JorgeB Posted December 17, 2022 Solution Share Posted December 17, 2022 Use rsync -av /mnt/disk4/ /mnt/disk1/ 1 Quote Link to comment
guigz Posted December 20, 2022 Author Share Posted December 20, 2022 Thanks Jorge. This fixed my issue with the disk share but not the user share. Doing Rsync on the disk share, I ended up with a user share called Disk4 again. I renamed it to another name. Trouble is that I believe it has duplicate files on it and I'd like to delete it after confirming that all of the files have been copied to the Disk1. I tried running rsync on the user share but it takes forever because the size of the files and ends up disconnecting after several hours. Is there a command to do a quick check to see what files are present in a given folder that aren't present in another? Just comparing the names would be ok. PS: would accidentaly dragging and dropping a disk share into a user share create a problem like mine? Thats the only thing I can think of because I definitely did NOT create a Disk4 user share manually Quote Link to comment
JorgeB Posted December 20, 2022 Share Posted December 20, 2022 5 minutes ago, guigz said: Doing Rsync on the disk share, I ended up with a user share called Disk4 again The rsync command above won't create an extra user share, possibly one already existed on the source disk. 6 minutes ago, guigz said: would accidentaly dragging and dropping a disk share into a user share create a problem like mine? You cannot copy/move from disk share to user share or vice versa, only from disk share to disk share or user share to user share, or data loss will likely occur. 1 Quote Link to comment
trurl Posted December 20, 2022 Share Posted December 20, 2022 38 minutes ago, guigz said: accidentaly dragging and dropping a disk share into a user share create a problem like mine? One of many reasons I recommend not enabling disk shares and only working with user shares when working over the network. And if working directly on the server, don't work with user shares at all if you are working with disks directly. 1 Quote Link to comment
guigz Posted December 20, 2022 Author Share Posted December 20, 2022 (edited) ANy suggestion for comparing the files in the two directories? Also, can I rsynch between my local computer and the unraid server that are on the same subnet? Edited December 20, 2022 by guigz Rsync question Quote Link to comment
trurl Posted December 20, 2022 Share Posted December 20, 2022 2 minutes ago, guigz said: rsynch between my local computer What OS? Windows doesn't have rsync but there are similar tools available. Quote Link to comment
guigz Posted December 20, 2022 Author Share Posted December 20, 2022 Yeah, I'm on windows Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.