February 27, 201016 yr Hello, I am looking to re-order my shares and basically want to introduce an additional top level shares, as follows As-is /Music-A/... /Music-B/... To-be /Music/Music-A/... /Music-B/... So really I am introcuing "Music" as the top level share and moving existin "Music-A" and Music-B" shares beneath. This will enable me to us mt-daap to serve up both my wife's music collection and my own whilst still keeping them seperate on disk (importnant!! ) Is there any way I can achieve this without large amounts of copying? Thanks Matt
February 27, 201016 yr Hello, I am looking to re-order my shares and basically want to introduce an additional top level shares, as follows As-is /Music-A/... /Music-B/... To-be /Music/Music-A/... /Music-B/... So really I am introcuing "Music" as the top level share and moving existin "Music-A" and Music-B" shares beneath. This will enable me to us mt-daap to serve up both my wife's music collection and my own whilst still keeping them seperate on disk (importnant!! ) Is there any way I can achieve this without large amounts of copying? Thanks Matt The way I would do it: Create a new Usershare "music" map yourself a drive to the root of usershares (via smb-extra.conf, e.g. TOWER-root with path=/mnt/user). You will have all your usershares then on 1 driveletter/SMB-share available! via a proper tool (i use FC on windows so SMB share, as mentioned above) move the stuff as you wish - you can move files/directories between different usershares - the usersharesystem will update and recognize all nicely. No filed would be physically moved, just directoryinfos updated - thus all your files stay there where you have them today. done ;-) good luck, and of coure "no warranty", as I don't know if this approach is officially supported by UnRaid ;-)
February 27, 201016 yr log in via telnet cd to each of you disks in turn by typing cd /mnt/disk1 type "ls" to see the directories on that specific disk. ls If the drive has one of the current "Music-*" shares, create the new "Music share by typing mkdir /mnt/disk1/Music Then, you can move the entire old set of "Music-*" directories to be sub-directories of the new "Music" directory by typing: mv /mnt/disk1/Music-* /mnt/disk1/Music/ That's it. Do the same set of steps for disk2, disk3, disk4, etc in turn. You can "mv" (move) directories like this as long as they are on the same physical disk. It takes only an instant. If you do it via the file-explorer on windows it is probably going to copy the files from the one folder to the other and take lots more time.
March 1, 201016 yr If you use disk shares and use Windows Explorer to move the files on the same disk then it takes no time at all. You have to do the right click and pick the move option when you drop the file instead of using left click which defaults to copy. Peter
Archived
This topic is now archived and is closed to further replies.