April 27, 201115 yr Hello All, I'm a new Unraid Pro user. I just created my first server about a week ago, and am still shaking out the mistakes I made (I allowed myself about a month to screw with it before I got "for realz", so I still have about 3 weeks of mistakes to make). My current (very minor) issue: I screwed up the initial share creation, and created a share called "TV shows", one called "movies", etc etc. I'm not too enamoured of the thought of mapping dozens of network drives, so I redid it tonight with a top level directory called Shared, and the rest going from there. So, is there a fast way to move the data from my existing share "TV shows" into my new share "Shared\TV shows"? Cutting and pasting in windows works, obviously, but will take 30 hours at approx 30mb/s, and I rather suspect there is a command line way to do this that will be near instant. Thanks!
April 27, 201115 yr If the directories reside on the same server drive, a file move, rather than copy, should be nearly instantaneous. If the files need to be copied from server disk to server disk then Midnight Commender can help. Connect to the server via telnet or at the console and enter "mc".
April 27, 201115 yr Author Pretty sure they're all on the same drive. What's the command to do so? It's like "rmdir" or something, right? Alternately, I'm looking at mc now, and it looks pretty promising, but I don't know what I should be doing. Just lining things up from the left to the right and doing file, rename/move?
April 27, 201115 yr Pretty sure they're all on the same drive. What's the command to do so? It's like "rmdir" or something, right? Alternately, I'm looking at mc now, and it looks pretty promising, but I don't know what I should be doing. Just lining things up from the left to the right and doing file, rename/move? "rmdir" will remove the directory. The commands you are looking for are probably going to be "cp" and "mv" Midnight Commander is probably your best bet. Open it up and start copying from one side to the other. I almost always copy and then delete later, so as not to fubar something in the process.
April 27, 201115 yr If it's the same drive then just use the Windows Explorer interface you are familiar with. Just MOVE the files. Peter
Archived
This topic is now archived and is closed to further replies.