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.

[Plugin] Mover Tuning

Featured Replies

5 hours ago, Triplerinse said:

From the looks at the settings looks like it runs off of a cron schedule? So like ever Tuesday at 3 am should it be ,0 3 * * 2?

if anyone can explain the new

can someone please explain the new settings for me.

The update of cron to plugin is made automatically on update, just check you have disabled unraid mover.

Use cron of plugin in plugin settings now.

You have link to check you cron in help description of cron option...

  • Replies 3.5k
  • Views 485.2k
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • hugenbdd
    hugenbdd

    New Version 07-03-2023   HUGE thanks/Shout-out to @Swarles for the help with updating code fixes and adding a great new feature.  You can now have some customization per share.  It's great t

  • How to ignore a SINGLE file 1.) Find the path of the file you wish to ignore.     ls -ltr /mnt/cache/Download/complete/test.txt         root@Tower:/# ls -ltr /mnt/cache/Download/complete/test

  • Hi all, I made a new version of the plugin. This fork replaces @hugenbdd's plugin which is not maintained anymore and will land in community applications if your feedbacks are positive.  

Posted Images

I'm running version 2026.02.27 on 7.2.3 and I noticed that files with a "$" in the file name are not being moved. Anything I can do so these files move besides scheduling a full flush with the old mover?

2 hours ago, totalhavoc said:

I'm running version 2026.02.27 on 7.2.3 and I noticed that files with a "$" in the file name are not being moved. Anything I can do so these files move besides scheduling a full flush with the old mover?

Sure, check options and help description by press on option or F1

I've already done all of that. I have disabled "Validate input filenames to prevent attacks" which I thought was causing it but the files are still causing error when it tries to rsync them. Give me a few to dig in the logs and I will post the error when it hits the files.

Mar 4 00:16:04 Unraid move: stat: cannot statx '/mnt/cache/data/torrents/music/Ice Cube - Greatest Hits [FLAC]/04 00 Dollar Bill Ya'\''ll.flac': No such file or directory
and

Mar 4 01:47:01 Unraid move: Rsync cmd: rsync --archive --xattrs --relative --hard-links --remove-source-files, Move file: "/mnt/cache/./data/torrents/music/Ice Cube - Greatest Hits [320](320)/04 $100 Dollar >

Mar 4 01:47:01 Unraid move:

Mar 4 01:47:01 Unraid move: rsync: [sender] link_stat "/mnt/cache/data/torrents/music/Ice Cube - Greatest Hits [320](320)/04 00 Dollar Bill Ya'll.mp3" failed: No such file or directory (2)

Mar 4 01:47:01 Unraid move: rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1338) [sender=3.4.1]

Edited by totalhavoc

19 minutes ago, totalhavoc said:

Unraid move: stat: cannot statx '/mnt/cache/data/torrents/music/Ice Cube - Greatest Hits [FLAC]/04 00 Dollar Bill Ya'\''ll.flac': No such file or directory

It seems as rsync error, check if the file exist, or hard link error or file is still using by torrent, becose of that can't be moved.

Also some symbols like ', $, can couse rsync errors...

You can try to change mover mode to move instead rsync

Edited by Masterwishx

I just changed it from rsync for both to move/rsync and running a test to see what happens.

edit: the file is not hard linked and I run the qbit mover script to stop torrents.
Edit2: It did not move the files. I think this is because it is failing to stat the file when it builds it's list. I am running another move with lower % thresholds incase it didn't move them because of that. But seems to me if you are building the list based on date from the stat command and your stat fails, that file will never be in the list to move.

Edited by totalhavoc

So I'm not much of a coder but I know enough to get AI to help. The problem is you are feeding stat with $6 but $6 has a $ in it that needs to be escaped out. This is the code that AI provided instead of FINDSTR="$FINDSTR cmd=\"stat -c%X \\\"\"\$6\"\\\"\";

# Replace $ with \$

escaped_6="${6//$/\\\$}"

# Use the new escaped variable in your command

FINDSTR="$FINDSTR cmd=\"stat -c%X \\\"\"$escaped_6\"\\\"\";

Edit: looks like AI sucks as usual. I modified the age_mover file and add that code but it is still not escaping the $.

Edited by totalhavoc

  • 2 weeks later...

Facing some issues. Unraid says "A total of 27 files representing 172GiB were successfully moved/synced by Mover Tuning plugin. Elapsed time: 2 mins 44 sec". First of all, this feels too fast for 172gb. But more importantly, I don't think anything was moved. My cache disk has filled up and stays 90% usage without moving files (though it says things were moved as above). Same happens when manually running the pluging. Tried both sync and move.

Any known issue these days. Any log helpful to provide?

On 3/4/2026 at 5:14 PM, totalhavoc said:

The problem is you are feeding stat with $6 but $6 has a $ in it that needs to be escaped out. This is the code that AI provided instead of FINDSTR="$FINDSTR cmd=\"stat -c%X \\\"\"\$6\"\\\"\";

Can you open github issue for it, I will check it

11 hours ago, steve1977 said:

My cache disk has filled up and stays 90% usage without moving files (though it says things were moved as above). Same happens when manually running the pluging. Tried both sync and move.

If you think issue, please open issue on github with debug.zip

Cannot get the debug. Getting below error message:

ERROR: The Mover Tuning Debug Package Generation Script has failed - no response from the bash backend.

17 minutes ago, steve1977 said:

Cannot get the debug. Getting below error message:

ERROR: The Mover Tuning Debug Package Generation Script has failed - no response from the bash backend.

Run age_mover debug in cli

18 minutes ago, steve1977 said:

Cannot get the debug. Getting below error message:

ERROR: The Mover Tuning Debug Package Generation Script has failed - no response from the bash backend.

What unraid and plugin version you have?

1 minute ago, Masterwishx said:

What unraid and plugin version you have?

7.2.4 and 2026.02.27

7 minutes ago, Masterwishx said:

Run age_mover debug in cli

Done. How to download it?

31 minutes ago, steve1977 said:

Done. How to download it?

The file should be in /boot/logs

Thanks. Posted on github

  • 2 weeks later...

I was looking to exclude a specific folder from the mover. I do not see this option any more. is there any way to do this?

17 hours ago, knights_of_pine said:

is there any way to do this?

Sure:

`Ignore files and folders listed inside of a text file `

Sure:

58 minutes ago, Masterwishx said:

`Ignore files and folders listed inside of a text file `

where is this option i do not see it. thank you.

9 hours ago, knights_of_pine said:

where is this option i do not see it. thank you.

What version do you have?

9 hours ago, Masterwishx said:

What version do you have?

image.png

latest version I think. maybe I am totally blind but I do not see the option in the mover settings.

31 minutes ago, knights_of_pine said:

image.png

latest version I think. maybe I am totally blind but I do not see the option in the mover settings.

Just use ctrl+f to find `Ignore files` in settings page.

It's in Mover `Tuning - Filters` section

Edited by Masterwishx

  • 2 weeks later...
On 3/4/2026 at 9:10 AM, Masterwishx said:

The update of cron to plugin is made automatically on update, just check you have disabled unraid mover.

Use cron of plugin in plugin settings now.

You have link to check you cron in help description of cron option...

I'm facing the same issue as @Triplerinse my perfectly working schedule once a week on Sunday at 13:00 doesn't run anymore. (I only boot my unraid server once a week to act as a backup target).
The syslog of my unraid server showed this:
Apr  5 11:47:01 backupserver crond[1900]: failed parsing crontab for user root: SUN /usr/local/emhttp/plugins/ca.mover.tuning/mover start |& logger -t move
Apr  5 12:25:01 backupserver crond[1900]: failed parsing crontab for user root: SUN /usr/local/emhttp/plugins/ca.mover.tuning/mover start |& logger -t move
Apr  5 13:00:11 backupserver crond[1900]: failed parsing crontab for user root: SUN /usr/local/emhttp/plugins/ca.mover.tuning/mover start |& logger -t move

This is how I configured the mover schedule..
Any hints on what I did wrong?

backupserver_mover_plugin_settings.jpg

Edited by ___niko___
fix layout

9 minutes ago, ___niko___ said:

I'm facing the same issue as @Triplerinse my perfectly working schedule once a week on Sunday at 13:00 doesn't run anymore. (I only boot my unraid server once a week to act as a backup target).
The syslog of my unraid server showed this:
Apr  5 11:47:01 chewbacca crond[1900]: failed parsing crontab for user root: SUN /usr/local/emhttp/plugins/ca.mover.tuning/mover start |& logger -t move
Apr  5 12:25:01 chewbacca crond[1900]: failed parsing crontab for user root: SUN /usr/local/emhttp/plugins/ca.mover.tuning/mover start |& logger -t move
Apr  5 13:00:11 chewbacca crond[1900]: failed parsing crontab for user root: SUN /usr/local/emhttp/plugins/ca.mover.tuning/mover start |& logger -t move

This is how I configured the mover schedule..
Any hints on what I did wrong?

backupserver_mover_plugin_settings.jpg

What unraid /plugin versions?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

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.