npm.io
0.0.3 • Published 10 years agoCLI

simple-backup

Licence
GPL-3.0
Version
0.0.3
Deps
5
Vulns
4
Weekly
0

simple-backup

About

A simple script to backup a directory and timestamp it.

Installation:

Usage:
Setup a config file (optional)
  • simple-backup config source ~/files-to-backup
  • simple-backup config destination ~/place-to-keep-backups
Run with the config file
  • simple-backup backup
Run without a config file
  • simple-backup backup ~/files-to-backup ~/place-to-keep-backups
Development:
  • Clone the repo:
    • git clone https://github.com/kherrick/simple-backup
  • Install the dependencies:
    • npm install
  • Build the project:
    • npm run build
  • Watch for changes and build:
    • npm run watch
  • Lint the source and unit tests:
    • npm run lint
  • Run unit tests on the command line:
    • npm run test
  • Run unit tests with a coverage report:
    • npm run coverage

Build Status