This is what i suggested:
In theory that is.
1.
copy filelist to temp
2.
Compare filename1, if matches skiplist rule#1 skip instead of putting to queue and delete from temp list
Compare filename2, if matches skiplist rule#1 skip instead of putting to queue and delete from temp list
Compare filename1, if matches skiplist rule#2 skip instead of putting to queue and delete from temp list
Compare filename2, if matches skiplist rule#2 skip instead of putting to queue and delete from temp list
3,
Compare filename1, if matches priority list rule#1 dump to queue and delete from temp list
Compare filename2, if matches priority list rule#1 dump to queue and delete from temp list
Compare filename1, if matches priority list rule#2 dump to queue and delete from temp list
Compare filename2, if matches priority list rule#2 dump to queue and delete from temp list
4.
Put the rest of the files to queue
Im not talking about how efficent that would be, but its the theory of how it should work in my opinion..
|