October 31, 201411 yr Is there a command line I can use to delete folders from the server? I am in the process of moving files around to different drives and I ended up with some folders full of incomplete files but i can't seem to delete them. When I use my windows machine to delete, I get a message that I don't have permission and I am unable to change the ownership for some reason. Only certain folders do this.
October 31, 201411 yr rm -rf /path/to/dir That will remove the directory and EVERYTHING inside what you have pointed it to. If you're trying to delete shares stop the array first
October 31, 201411 yr Or use midnight commander. At the command prompt type mc and hit the enter key.
October 31, 201411 yr Were you moving the files around from the command line in unRAID? If so you have probably messed up permissions and need to rerun the new permissions utility if you want to be able to do this over the network. I have also seen cases where the client end thinks that files are open in another app - in this case rebooting solves that issue. As previous posters have mentioned you can always delete the files if you are running via the unRAID command line as there you will be running with 'root' privileges. However you may feel this is a bit more error prone.
October 31, 201411 yr Author Were you moving the files around from the command line in unRAID? If so you have probably messed up permissions and need to rerun the new permissions utility if you want to be able to do this over the network. This worked, thank you very much. I saw that utility last night while I was digging around for the answer but I didn't want to run it without knowing exactly what was going to happen. For some reason when I try to move large folders around (e.g. 5 seasons of a TV show) using telnet (putty) I get missing files and errors. If I move one movie, or one TV season at a time I have no issues. Obviously this takes a loooong time.
Archived
This topic is now archived and is closed to further replies.