-
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add sddf(Search & Delete Duplicated File) command.
- Loading branch information
Showing
14 changed files
with
463 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
% SDDF(1) | ||
% Naohiro CHIKAMATSU <[email protected]> | ||
% December 2021 | ||
|
||
# NAME | ||
|
||
serial – Search & Delete Duplicatetd File | ||
|
||
# SYNOPSIS | ||
|
||
**sddf** [OPTIONS] PATH | ||
|
||
# DESCRIPTION | ||
**sddf** looks for duplicate files under the specified directory and | ||
creates a list of them (default: duplicated-file.sddf). | ||
If the list is executed with sddf arguments, sddf delete the file based | ||
on the contents of the list. | ||
|
||
# EXAMPLES | ||
**Search for duplicate files under the current directory** | ||
|
||
$ sddf . | ||
|
||
**Remove duplicate files** | ||
|
||
$ sddf duplicated-file.sddf | ||
|
||
# OPTIONS | ||
**-o, **--output** | ||
: Specify the file name of the duplicate file list. | ||
|
||
**-h**, **--help** | ||
: Show help message. | ||
|
||
**-v**, **--version** | ||
: Show sddf command version. | ||
|
||
# EXIT VALUES | ||
**0** | ||
: Success | ||
|
||
**1** | ||
: Error when specifying the argument of the sddf command, or error during file operation | ||
|
||
# BUGS | ||
See GitHub Issues: https://github.com/nao1215/mimixbox/issues | ||
|
||
# LICENSE | ||
The MimixBox project is licensed under the terms of the MIT license and Apache License 2.0. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
% SDDF(1) | ||
% Naohiro CHIKAMATSU <[email protected]> | ||
% 2021年12月 | ||
|
||
# 名前 | ||
|
||
serial – 重複するファイルを探し、削除する | ||
|
||
# 書式 | ||
|
||
**sddf** [OPTIONS] PATH | ||
|
||
# 説明 | ||
**sddf**は、任意のディレクトリ以下にある重複ファイルを探し出し、 | ||
そのリスト(デフォルト:duplicated-file.sddf)を作成します。 | ||
リストを指定して実行した場合は、リスト内容に基づいてファイルを削除します。 | ||
|
||
# 例 | ||
**カレントディレクトリ以下から重複ファイルを探索** | ||
|
||
$ sddf . | ||
|
||
**重複ファイルを削除** | ||
|
||
$ sddf duplicated-file.sddf | ||
|
||
# オプション | ||
**-o, **--output** | ||
: 重複ファイルリストのファイル名を指定します。 | ||
|
||
**-h**, **--help** | ||
: ヘルプメッセージを表示します。 | ||
|
||
**-v**, **--version** | ||
: sddfコマンドのバージョンを表示します。 | ||
|
||
# 終了ステータス | ||
**0** | ||
: 成功 | ||
|
||
**1** | ||
: sddfコマンドの引数指定でエラー、もしくはファイル操作中のエラー | ||
|
||
# バグ | ||
GitHub Issuesを参照してください。URL:https://github.com/nao1215/mimixbox/issues | ||
|
||
# ライセンス | ||
MimixBoxプロジェクトは、MIT License条文およびApache License 2.0条文の下でライセンスされています。 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.