Coder Social home page Coder Social logo

liutiming / archivist Goto Github PK

View Code? Open in Web Editor NEW
3.0 1.0 1.0 9 KB

Easily archive ๐Ÿ“ฆ Download folder to Google Drive โ˜๏ธ

Home Page: https://liutiming.github.io/archivist/

License: MIT License

Python 100.00%
full-stack-clinician desktop google-drive

archivist's Introduction

Archivist

archivist

Script for archiving Download folder by uploading unmodified files to a Google Drive folder. Modified files will remain in the Download folder for manual sorting.

Rationale

While reading articles/documents online, I sometimes have to download them and make annotations. I want to archive the Download folder to Google Drive once in a while to free up hard disk space, but I also want to sort the annotated files separately because they contain my thinking process. This script will upload all unmodified files

Functionalities

  • Determines whether the file has been modified by the difference between the created time and modified time. If the difference is less than one minute, it will be uploaded.
  • Determines whether there is enough hard disk space in the Google Drive folder. It only moves the file when there is still 5GB of free space after uploading the file.
  • Check for active internet connection
  • No extra dependencies needed

Assumptions

  • .mp4 and .wav files are not treated as modified files because I rarely modify/annotate them by hand. They often have different modified and created time so would require extra design to deal with.
  • All file directories are based on my local computer's format
  • Windows OS

Potential improvement

  • GUI

archivist's People

Contributors

liutiming avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.