June 14, 20197 yr Hello everyone. It's clear in looking over these forums that those of you active here know WAY more than I do so I'm looking to borrow some of your ingenuity. Perhaps this has already been done but I'm having trouble locating it. I'd like to figure out a way with Unraid so that when I delete an episode or movie, the folder containing it is automatically deleted. The best bet is some kind of script or plugin that would automatically (on a schedule probably) scan for and delete folders smaller than a set size. Even better would be a way to instead of deleting the folders....hide them from Windows. Any ideas? Thanks in advance for your help! Edited June 14, 20197 yr by bsavage13
June 15, 20197 yr Author Awesome thank you! Is there something similar to easily hide and unhide folders instead of removing them by chance? Thanks again for your help!
June 19, 20197 yr Hi I used the script linked above to remove all empty folders or folders with nothing in except for leftover stuff like nfo thumbnails etc. hence the 10mb size. The problem with hiding them is that you will need to unhide them when they have something in
October 1, 20196 yr Hi, You can hide them using chflags hidden nameoffile-folder and unhide them with chflags nohidden nameoffile-folder. But I dont see that chflags command in unraid
October 2, 20196 yr 4 hours ago, piratx said: Hi, You can hide them using chflags hidden nameoffile-folder and unhide them with chflags nohidden nameoffile-folder. But I dont see that chflags command in unraid I do not think that ‘chflags’ is available under Linux? It is only ever mentioned in the context of BSD and systems derived from that. Edited October 2, 20196 yr by itimpi
Archived
This topic is now archived and is closed to further replies.