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.

Directory structure

Featured Replies

Is there someway (addon or similar) that can keep a mirror of my directory structure on the cache disk? What I do is I save all new stuff in [/mnt/cache/.Incoming] and once it's complete I organize it into the correct share [/mnt/user/Something].

 

When I do this I'd prefer moving it within [/mnt/cache] and have mover transfer them later. I do realize this is what is happening behind either way but executing the following two commands is quite different in what happens behind:

 

mv /mnt/cache/.Incoming/NewItem /mnt/cache/Something - (relocate)

mv /mnt/cache/.Incoming/NewItem /mnt/user/Something - (copy/sync/delete ?)

 

Or am I just using it wrong?

I'm in a similar set-up.  What I've been doing is manually creating the directory structure on /mnt/cache to mimic the directory structure on the ultimate destination share and let mover do it's thing overnight.  The only downside is that mover removes the directory when it's done, so if you have frequently used share directories (/TV_Shows or /Movies in my case) you need to create them every time.

 

I haven't looked into it, but there's probably a way to modify the mover script to leave the empty directories after moving the files.

The mover script use to leave the directories but most users found it annoying to see those empty directories.

  • Author

The mover script use to leave the directories but most users found it annoying to see those empty directories.

 

Don't suppose there is a version of that mover laying around somewhere? :)

The mover script use to leave the directories but most users found it annoying to see those empty directories.

 

Don't suppose there is a version of that mover laying around somewhere? :)

 

I do not have it, but if you would like it I would send limetech and email and request it.

 

Note: You will have to copy it into place on every reboot as the mover script gets recreated

The mover script use to leave the directories but most users found it annoying to see those empty directories.

 

Don't suppose there is a version of that mover laying around somewhere? :)

 

I do not have it, but if you would like it I would send limetech and email and request it.

 

Note: You will have to copy it into place on every reboot as the mover script gets recreated

You can add a line like this to the end of your config/go script:

sed  -i  "s/-delete/-print/"  /usr/local/sbin/mover

It will disable the deletion of directories every time you reboot.

 

You can also invoke the same command on the linux command line to change the mover script right now without rebooting.

(but unless you add the line to the config/go script, or re-invoke it manually after a reboot, the mover script will be back to its original contents after a reboot)

 

It will change the mover to print to the syslog those directories that are empty instead of deleting them.

 

Joe L.

  • Author

Guess one could pipe it away to not fill syslog but this way is excellent, thanks a bunch Joe.

 

For anyone else interested I used the following line (once in shell) to recreate my user shares on the cache disk 3 levels deep together with the modification that makes em stay. I initially used xargs but it blew up in my face with a pipe error so ended up using awk.

 

find /mnt/user0 -type d -print -maxdepth 3 | egrep -v "^/mnt/user0(/Unsorted|/\.|$)" | sed "s/^\/mnt\/user0/\/mnt\/cache/" --unbuffered | awk '{ system("mkdir \""$0"\"") }'

 

 

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.