Feature request: Support for ignoring files older than n hours in mover script


Moussa

Recommended Posts

This would be extremely useful for many users I suspect, as whenever I add a file to my system I usually make changes to it for the next 24/48 hours. The current setup defeats the purpose of avoiding fragmentation for me, as in some circumstances the mover script will move a file only a few minutes after it's been added to the cache drive.

 

This should be as simple as adding the -aamin or -mmin flags to the script, and I currently do this which works nicely. But it's rather ugly because I have to rewrite the mover script on every reboot. And it would be nice to add GUI support for it.

Link to comment

This could be accomplished with some changes to the mover.

 

Such as a

 

at start of shell

. /boot/conf/mover.preamble.sh

 

Then in that shell add a variable in the preamble script called

 

 

FIND_OPTS=""

 

then in the find line add that variable definition.

also adding a

 

. /boot/conf/mover.postamble.sh

 

or some derivative.

Then we can hook into mover without changing it that much.

 

Link to comment

Why not copy the rewritten file to your flash drive, then have it copied from flash to the default location via the go script?

 

Not as simple as you'd like but it effectively reduces your workload regarding this feature.

 

That's my current set up now, but I imagine other users aren't as confident as I am modifying the mover script and setting up the go file.

 

This could be accomplished with some changes to the mover.

 

Such as a

 

at start of shell

. /boot/conf/mover.preamble.sh

 

Then in that shell add a variable in the preamble script called

 

 

FIND_OPTS=""

 

then in the find line add that variable definition.

also adding a

 

. /boot/conf/mover.postamble.sh

 

or some derivative.

Then we can hook into mover without changing it that much.

 

That would be a great solution. That way it's optional for users who don't want that feature.

Link to comment

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...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.