mnishig / automove

monitoring folder and move file to specific folder

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Automove file

What?

This application is monitoring a folder and new created file move to target folder.
Microsoft Edge / Teams and more will download file to Download folder in User profile folder.
But I want to store it other location. some application can customize to other location and some application can not change.
This app to automate moving file that Download folder to want location.

example:

  1. watch os default Download directory
  2. created file at watched directory then move to user-specific directory (eg: C:\my-docs)

usage

$ python3 -m vev env
$ env/scripts/activate # windows
or
$ env/bin/activate  # Linux or MacOS 
$ python3  src\app.py

configuration

config.json contains these Keyes. You must adjust your want

Key description
source_dir Directory watching by app
target_dir File copied to this Directory

dependencies

  • pypi watchdog

TODOS:

  • add logger
  • add user friendly error handler
  • packaging

About

monitoring folder and move file to specific folder


Languages

Language:Python 100.0%