Possible to copy or sync newest files first?

I recently completed copying about 100TB of movies and TV from one server to a temporary backup server via rclone sftp while I redo my storage configuration. I would like to restore the files from the backup to a new machine while transferring the newest media back first based on file modification time. It's going to take a long time to restore all of this and having access to the newest media first would be ideal. Is this possible? I can't figure it out of it is.

So far the best I've been able to come up with is:

rclone copy --transfers 25 --max-age 30d --progress

I figure worst case I can start with something like this then just let it restore as it likes but it's not ideal.

Thanks!

hello and welcome to the forum,

could use rclone lsf get a list of files and sort that list, feed it to back to rclone
and/or
https://forum.rclone.org/t/is-there-a-way-to-get-an-ordered-log-for-readability/37900/2

Check out --order-by

You probably want something like --order-by modtime,desc and add --check-first if you want perfect ordering.

1 Like

Thank you! This combination particularly with --check-first seems to do the trick! I'm continuously impressed with rclone, absolutely incredible software!

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.