I have a drive that has both mp3s and archives on it and I decided I'd put all of the mp3s in their own zone (#3) and let any other files just be "moved out of the way". After running the script, I can still see non-mp3 files (which are yellow-orange) in the 3rd zone, near the end.
Why are they still there? How can I move them out of that zone, or is this a bug in MDF?
Here is the code:
/* Select and process the volumes one by one. */
VolumeSelect
CommandlineVolumes()
VolumeActions
SetFileColor(FileName("*.mp3"),All,255, 191, 0)
SetFileColor(FileName("*.*.rar"),All,42, 142, 255)
SetFileColor(FileName("*.part*.rar"),All,75, 255, 255)
SetFileColor(FileName("*.zip"),All,30, 255, 116)
/* Write the "before" statistics to the logfile. See the "Settings.MyD" file
for the definition of the "LogBefore" string. */
AppendLogfile("!ScriptTitle!.log","LogBefore")
/* Zone 1: Place the MFT and some other special NTFS files. */
FileSelect
SelectNtfsSystemFiles(yes)
FileActions
PlaceNtfsSystemFiles(Ascending,MftSize * 0.005)
FileEnd
/* Zone 2: Directories. */
FileSelect
Directory(yes)
FileActions
SortByName(Ascending)
FileEnd
MakeGap(ZoneEnd + 1500 MB)
/* Zone 3: MP3 files. */
FileSelect
FileName("*.mp3")
FileActions
Defragment(Fast)
Defragment()
MaxRunTime(300)
FastFill(WithShuffling)
FileEnd
MakeGap(ZoneEnd + 200 MB)
/* Zone 4: Archives. */
FileSelect
All
FileActions
MaxRunTime(180)
MoveUpToZone()
FileEnd
The image shows a RAR file (circled) that should not be in zone 3.