twigmac/remove-duplicate-files 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

twigmac/remove-duplicate-files

最新稳定版本:v1.0.4

Composer 安装命令:

composer require twigmac/remove-duplicate-files

包简介

Recursively remove duplicate files on the command line.

README 文档

README

build status release status

Remove Duplicate Files

Recursively find and remove duplicate files on the command line.

Requirements

You will need PHP 8.2 or higher to run the script.

Standalone Usage

Use either of the following commands to get usage instructions.

# use the entrypoint script
bin/remove-duplicate-files --help

# use the Phar file
bin/remove-duplicate-files.phar --help

Usage as Vendor Package

When using it as a vendor package, first install it.

composer require twigmac/remove-duplicate-files

After installing the package, you can run the binary from the vendor directory.

vendor/bin/remove-duplicate-files --help

Usage Examples

# This will find up to 100 duplicate files in the second directory but will not remove anything (dry-run).
bin/remove-duplicate-files --verbose /home/example/Downloads/Photos /home/example/Backups/Photos

# This will remove up to 5000 duplicate files in the second directory and will keep them in the first directory
# but it will ask you for permission before each file.
bin/remove-duplicate-files --verbose --limit=5000 --really /home/example/Downloads/Photos /home/example/Backups/Photos

# This will remove up to 5000 duplicate files in the second directory and will keep them in the first directory
# without asking for permission.
bin/remove-duplicate-files --verbose --limit=5000 --really --force /home/example/Downloads/Photos /home/example/Backups/Photos

统计信息

  • 总下载量: 3
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-3.0
  • 更新时间: 2024-11-07