diversen/mirror-path

镜像文件系统路径

1.0.4 2016-11-19 14:50 UTC

This package is auto-updated.

Last update: 2024-09-20 08:36:06 UTC


README

将一个路径镜像到另一个路径,同时保持权限。选项包括

  • deleteBefore (镜像前删除)
  • allowTypes (设置要镜像的类型,例如 ['php', 'md']
  • disallowTypes (设置不允许的类型,例如 ['exe']

安装

composer require diversen/mirror-path

用法

参见 示例