Giter Club home page Giter Club logo

backup's Introduction

backup

A simple commandline utility to copy latest versions of files to a user-defined location.

  • If names of directories and files in the source directory tree only contain ANSI characters it also works on Windows.
  • A structure of source directories is preserved at the destination.
  • If the destination root does not exist, its parent directory must be existing.
  • A log file (named last.log) is saved next to the executable file on each run and includes all source and destination paths as well as error messages if any errors have occurred.

Build

Prerequisites:

  • cmake (v3.13+)

On Linux/UNIX:

  • cd to the source root
  • Execute:
mkdir build
cd build
cmake ..
make

Note: If you have built cmake from the source use /usr/local/bin/cmake .. instead of cmake ..

On Windows (using MinGW):

  • cd to the source root
  • Execute:
mkdir build
cd build
cmake .. -G "MinGW Makefiles"
mingw32-make

... or use the Build option in your IDE e.g. CLion

Usage

On Linux/UNIX:
./backup <source_root_directory> <destination_root_directory>

On Windows (using the PowerShell terminal):
.\backup.exe <source_root_directory> <destination_root_directory>

backup's People

Contributors

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