I was wondering does a command such as the one above with the --order-by flag like that work? or does order-by only take one sort criteria and isn't able to do a secondary sort.
@ncw Oh yes I agree about files having the same modtime being rare.
But what I wanted to do was to upload the oldest and largest files first.
As I am only able to sort once, I can upload the oldest files, but some of these may not be the largest, or upload the largest but some of these may not be the oldest.
I see. That isn't really a secondary sort criteria... You'd want some sort of sort function which added together age and size and sorted on that number. I'm afraid you'll have to stick with one or the other at the moment.