Move files on regex

I have a gdrive account with files in a directory with timestamps on them like this:

gdrive:“Data\20170820_some_file”. I want to move all the files that begin with 201708 (August 2017) into a directory called gdrive:“Data\2017 08”. I’ve moved files manually before one by one, but since there are so many to move this time I thought maybe a regex could work.

Do you want them to maintain the directory structure? Like this?

rclone --dry-run copy robgs:/cams/ robgs:"/cams/2017 08/" --exclude="**/2017 08/**" --include=**/20170820_**

btw, I used ‘copy’ here because I didnt want to screw anything up. :slight_smile: