this post was submitted on 27 Nov 2023
2 points (100.0% liked)
Data Hoarder
221 readers
1 users here now
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.
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
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.