Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Automatically delete or hide folders

Featured Replies

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 by bsavage13

  • 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!

  • Author

That gives be some things to try. Thank you again!

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 :)

 

 

  • 3 months later...

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 :(

 

 

 

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 by itimpi

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.