This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/php | |
| #backgroundOnly=true | |
| #arrayStarted=true | |
| #clearLog=true | |
| #noParity=true | |
| # name=tdrnlds custom mover script. Move from cache to disk | |
| # The script will search in cache drive for *.mkv, *.mp4, *.avi, for files with only one hardlink (aka original file) in $source (default: movies). | |
| # If found mixture of files in the same folder e.g *.mkv with hardlink=1 and *.mkv with hardlink=2 folder will be skiped. | |
| # Once files are found it will mark folder containing those files any additional files beside to be moved from $source to $destination until $threshold is acheived. |