Giter Site home page Giter Site logo

jacobissa / mover Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 11 KB

MOVER watches a source directory and moves its content into a target directory

Home Page: https://hub.docker.com/r/jacobissa/mover

License: BSD 3-Clause "New" or "Revised" License

Dockerfile 12.32% Shell 87.68%
docker docker-compose docker-container docker-image dockerfile

mover's Introduction

MOVER

MOVER watches a source directory and moves its content into a target directory


Environment Variables

Variable Default Value Description
TZ UTC TIMEZONE Set your time zone to make sure logs rotate at local midnight instead of at UTC midnight. A list of all time zones can be found here.
PATTERN * STRING Set a pattern for the filenames. Only the files and folders that match this pattern will be moved. Default is * which means everything will be moved. The accepted pattern characters can be found here.
INTERVAL 10s NUMBER[SUFFIX] Set the time interval between scans. The NUMBER may be a positive integer or a floating-point Number. The SUFFIX may be s for seconds, m for minutes, h for hours or d for days. When no suffix is specified, it defaults to seconds.

Quick Start

Here is an example for a docker-compose.yml

version: "3.9"

services:
  mover:
    container_name: mover
    image: jacobissa/mover:latest
    volumes:
      - /home/pi/docker/mover/source:/app/source
      - /home/pi/docker/mover/target:/app/target
      - /home/pi/docker/mover/logs:/app/logs
    environment:
      - TZ=Europe/Berlin
      - PATTERN=*
      - INTERVAL=5s
    restart: unless-stopped

View on dockerhub or Github

mover's People

Contributors

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