mirror of
https://github.com/oliverbooth/fdup.git
synced 2024-11-09 22:45:41 +00:00
[ci skip] docs: update usage docs and example
This commit is contained in:
parent
5876499f2c
commit
9681f41354
@ -11,22 +11,23 @@ fdup is a small command-line utility written in C# to quickly and easily find du
|
|||||||
```bash
|
```bash
|
||||||
$ fdup --help
|
$ fdup --help
|
||||||
USAGE:
|
USAGE:
|
||||||
fdup <path> [OPTIONS]
|
fdup.exe [path] [OPTIONS]
|
||||||
|
|
||||||
ARGUMENTS:
|
ARGUMENTS:
|
||||||
<path> The path to search
|
[path] The path to search. Defaults to the current directory
|
||||||
|
|
||||||
OPTIONS:
|
OPTIONS:
|
||||||
-h, --help Prints help information
|
-h, --help Prints help information
|
||||||
-v, --version Prints version information
|
-v, --version Prints version information
|
||||||
-r, --recursive When this flag is set, the directory will be scanned recursively. This may take longer
|
-r, --recursive When this flag is set, the directory will be scanned recursively. This may take longer
|
||||||
|
--verbose Enable verbose output
|
||||||
```
|
```
|
||||||
|
|
||||||
## Example
|
## Example
|
||||||
```bash
|
```bash
|
||||||
$ echo "Hello World" > file1
|
$ echo "Hello World" > file1
|
||||||
$ echo "Goodbye World" > file2
|
$ echo "Goodbye World" > file2
|
||||||
$ fdup .
|
$ fdup
|
||||||
Searching /home/user/example
|
Searching /home/user/example
|
||||||
Recursive mode is OFF
|
Recursive mode is OFF
|
||||||
Checking hash for file2
|
Checking hash for file2
|
||||||
@ -34,7 +35,7 @@ Checking hash for file1
|
|||||||
|
|
||||||
No duplicates found!
|
No duplicates found!
|
||||||
$ echo "Hello World" > file2
|
$ echo "Hello World" > file2
|
||||||
$ fdup .
|
$ fdup
|
||||||
Searching /home/user/example
|
Searching /home/user/example
|
||||||
Recursive mode is OFF
|
Recursive mode is OFF
|
||||||
Checking hash for file2
|
Checking hash for file2
|
||||||
|
Loading…
Reference in New Issue
Block a user