Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

auto-backup-dir

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

auto-backup-dir

auto-backup-dir ===============

  • 1.0.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

auto-backup-dir

A utility for backup the contents of one local directory into another and monitoring further changes.

Installation

npm install -g auto-backup-dir

Usage

auto-backup [backupDir] [--ignore regexp]

Example:

auto-backup ~/my-dir ~/my-dir-backup

If you do not supply a backupDir then it will default to ./.backup.

If you need to ignore certain files in the directory you can pass an ignore expression.

auto-backup ~/my-dir ~/my-dir-backup --ignore *.js

The above would ignore all .js files in the source directory.

Once the script is running it will make an initial backup and then begin watching the source directory for changes and back those up as well when they occur.

FAQs

Package last updated on 28 Jul 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc