Giter VIP home page Giter VIP logo

mover's Introduction

README

mover

Automatic file copy tool. The mover tool will check a given directory for any files and move all of them to the specified directory at a set interval. By default logs are store at "C:\mover\logs".

Usage

mover.exe <from-directory> <to-directory> [/i <interval-in-seconds>] [/c] [/o]

<from-directory>
Required - The directory to check and move content from.

<to-directory>
Required - The directory move content to.

[/i <interval-in-seconds>]
Optional - The interval (in seconds) at which to check the from-directory for content. Anything found will be moved into the to-directory. If you use this option, you must supply the value <interval-in-seconds>. The default value is 1 second.

Example: mover.exe "..\from" "..\to" /i 5

[/c]
Optional - By default, directories and their content will be copied and the originals will be deleted, essentially moving them. By using the /c option, the originals will not be deleted after being copied.

Example: mover.exe "..\from" "..\to" /c

[/o] Optional - By default, files in the to-directory with the same name and relative path as files in the from-directory will not be overwritten, even if the file contents are different. By using the /o option, files in the to-directory will be overwritten.

Example: mover.exe "..\from" "..\to" /o

Version 1.0.0

  • Added option /c - Keeps the original files that were moved (no removal of originals after copying).
  • Added option /o - Overwrites files in the to-directory that have the same relative path and name, but different file contents.
  • Added more detailed logging for invalid/missing paths, and start up info. No more empty logs.
  • Better path validation for user supplied arguments.
  • Fixed crash when no arguments are given.
  • Fixed issue copying directories.

Version 1.0.1

  • Adjusted the README.md file.
  • Fixed outdated program info that prints to the console.

mover's People

Contributors

rj-jones 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.