Moussa Posted September 24, 2014 Share Posted September 24, 2014 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. Quote Link to comment
sureguy Posted September 24, 2014 Share Posted September 24, 2014 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. Quote Link to comment
WeeboTech Posted September 24, 2014 Share Posted September 24, 2014 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. Quote Link to comment
Moussa Posted September 24, 2014 Author Share Posted September 24, 2014 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. Quote Link to comment
Recommended Posts
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.