diversen/mirror-path

Mirror a filesystem path

1.0.4 2016-11-19 14:50 UTC

This package is auto-updated.

Last update: 2024-12-20 09:21:09 UTC


README

Mirror a path to another path, while keeping permissions. Options for:

  • deleteBefore (delete before mirroring)
  • allowTypes (set types to be mirrored, .e.g ['php', 'md']
  • disallowTypes (set types to disallow, e.g. ['exe']

Install

composer require diversen/mirror-path

Usage

See example