As usual the answer is of course rclone. It even has --drive-skip-gdocs
switch. Just rclone move --drive-skip-gdocs gdrive_remote:whatever_directory_if_any_at_all some_local_place
Data Hoarder
We are digital librarians. Among us are represented the various reasons to keep data -- legal requirements, competitive requirements, uncertainty of permanence of cloud services, distaste for transmitting your data externally (e.g. government or corporate espionage), cultural and familial archivists, internet collapse preppers, and people who do it themselves so they're sure it's done right. Everyone has their reasons for curating the data they have decided to keep (either forever or For A Damn Long Time (tm) ). Along the way we have sought out like-minded individuals to exchange strategies, war stories, and cautionary tales of failures.
Thanks. rclone never ceases to amaze. I searched quite a bit before posting, but nothing about rclone having this functionality came up. Much appreciated.
2 years ago I managed to do step 1, then I did step 2 using a custom python script to skip the specific google docs file extensions, them I proceeded to step 4.
You may use shutil (library) to copy and delete (or cut) the files that are not from google docs, then delete the directory if it is now empty. That should leave only the directories with the google docs files
Good suggestion. This also got me thinking, and I started writing a script in Google Apps Script. Thanks.