Code Monkey home page Code Monkey logo

remote_download's Introduction

remote_download

Download files on another mac using a hazel rule and two python programs.

I used this program to learn python, so I am sure I have not done it the most professional or efficient way but it works, so I am happy.

Happy to receive comments and feedback regarding improvements.

##Requirements:##

  1. Mac
  2. Hazel (https://www.noodlesoft.com/hazel.php)
  3. Dropbox (http://www.dropbox.com)
  4. Python 3

##Todo:##

  1. Create a logging process - start time and finish time.
  2. Notification process - email
  3. Implement a config file using json (for mail settings etc)
  4. Add a gui interface

##Setup:##

  1. On the computers that you wish to remotely set up the downloads you need to install dropbox (and create a @action folder). In addition have the remote_download.py file to run the program.

  2. On server computer also install dropbox. In addition, install hazel.

  3. Create a hazel rule to monitor the ~/Dropbox/@Action folder for files with an extension of '.dwn' and no tag color of green. This rule when it finds ones, set the tag color to green and initialises the shell command. Set your shell environment to the path of python3. In the shell script put the contents of remote_hazel.py

remote_download's People

Contributors

philmccredden 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.