mirror of https://github.com/oliverbooth/fdup.git
Compare commits
No commits in common. "366a09e0424a4343e8248e6cde25d129816723df" and "c65d6ed4147adb910b11d4fbe5e616efb452c71c" have entirely different histories.
366a09e042
...
c65d6ed414
|
@ -24,7 +24,7 @@ jobs:
|
||||||
|
|
||||||
- name: Get version from tag
|
- name: Get version from tag
|
||||||
id: get_version
|
id: get_version
|
||||||
run: echo "VERSION=${GITHUB_REF#refs/tags/v}" >> $GITHUB_OUTPUT
|
run: echo ::set-output name=VERSION::${GITHUB_REF#refs/tags/v}
|
||||||
|
|
||||||
- name: Build and Publish
|
- name: Build and Publish
|
||||||
run: |
|
run: |
|
||||||
|
@ -44,7 +44,7 @@ jobs:
|
||||||
uses: "marvinpinto/action-automatic-releases@latest"
|
uses: "marvinpinto/action-automatic-releases@latest"
|
||||||
with:
|
with:
|
||||||
repo_token: "${{ secrets.GITHUB_TOKEN }}"
|
repo_token: "${{ secrets.GITHUB_TOKEN }}"
|
||||||
prerelease: true
|
prerelease: false
|
||||||
|
|
||||||
- name: Upload Release Assets
|
- name: Upload Release Assets
|
||||||
id: upload-release-assets
|
id: upload-release-assets
|
||||||
|
@ -57,8 +57,8 @@ jobs:
|
||||||
./publish/linux-x64/fdup
|
./publish/linux-x64/fdup
|
||||||
./publish/osx-x64/fdup
|
./publish/osx-x64/fdup
|
||||||
asset_name: |
|
asset_name: |
|
||||||
fdup-${{ steps.get_version.outputs.VERSION }}-win_x64.exe
|
fdup-${{ steps.get_version.outputs.VERSION }}-win-x64.exe
|
||||||
fdup-${{ steps.get_version.outputs.VERSION }}-win_x86.exe
|
fdup-${{ steps.get_version.outputs.VERSION }}-win-x86.exe
|
||||||
fdup-${{ steps.get_version.outputs.VERSION }}-linux_x64
|
fdup-${{ steps.get_version.outputs.VERSION }}-linux_x64
|
||||||
fdup-${{ steps.get_version.outputs.VERSION }}-macos_x64
|
fdup-${{ steps.get_version.outputs.VERSION }}-macos_x64
|
||||||
asset_content_type: application/octet-stream
|
asset_content_type: application/octet-stream
|
||||||
|
|
|
@ -24,7 +24,7 @@ jobs:
|
||||||
|
|
||||||
- name: Get version from tag
|
- name: Get version from tag
|
||||||
id: get_version
|
id: get_version
|
||||||
run: echo "VERSION=${GITHUB_REF#refs/tags/v}" >> $GITHUB_OUTPUT
|
run: echo ::set-output name=VERSION::${GITHUB_REF#refs/tags/v}
|
||||||
|
|
||||||
- name: Build and Publish
|
- name: Build and Publish
|
||||||
run: |
|
run: |
|
||||||
|
@ -57,8 +57,8 @@ jobs:
|
||||||
./publish/linux-x64/fdup
|
./publish/linux-x64/fdup
|
||||||
./publish/osx-x64/fdup
|
./publish/osx-x64/fdup
|
||||||
asset_name: |
|
asset_name: |
|
||||||
fdup-${{ steps.get_version.outputs.VERSION }}-win_x64.exe
|
fdup-${{ steps.get_version.outputs.VERSION }}-win-x64.exe
|
||||||
fdup-${{ steps.get_version.outputs.VERSION }}-win_x86.exe
|
fdup-${{ steps.get_version.outputs.VERSION }}-win-x86.exe
|
||||||
fdup-${{ steps.get_version.outputs.VERSION }}-linux_x64
|
fdup-${{ steps.get_version.outputs.VERSION }}-linux_x64
|
||||||
fdup-${{ steps.get_version.outputs.VERSION }}-macos_x64
|
fdup-${{ steps.get_version.outputs.VERSION }}-macos_x64
|
||||||
asset_content_type: application/octet-stream
|
asset_content_type: application/octet-stream
|
||||||
|
|
11
README.md
11
README.md
|
@ -11,23 +11,22 @@ 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.exe [path] [OPTIONS]
|
fdup <path> [OPTIONS]
|
||||||
|
|
||||||
ARGUMENTS:
|
ARGUMENTS:
|
||||||
[path] The path to search. Defaults to the current directory
|
<path> The path to search
|
||||||
|
|
||||||
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
|
||||||
|
@ -35,7 +34,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
|
||||||
|
@ -55,4 +54,4 @@ Contributions are welcome. See [CONTRIBUTING.md](CONTRIBUTING.md).
|
||||||
|
|
||||||
## License
|
## License
|
||||||
|
|
||||||
fdup is released under the MIT License. See [here](https://github.com/oliverbooth/fdup/blob/main/LICENSE.md) for more details.
|
X10D is released under the MIT License. See [here](https://github.com/oliverbooth/X10D/blob/main/LICENSE.md) for more details.
|
||||||
|
|
Loading…
Reference in New Issue