Compare commits

..

5 Commits

3 changed files with 13 additions and 12 deletions

View File

@ -24,7 +24,7 @@ jobs:
- name: Get version from tag
id: get_version
run: echo ::set-output name=VERSION::${GITHUB_REF#refs/tags/v}
run: echo "VERSION=${GITHUB_REF#refs/tags/v}" >> $GITHUB_OUTPUT
- name: Build and Publish
run: |
@ -44,7 +44,7 @@ jobs:
uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
prerelease: false
prerelease: true
- name: Upload Release Assets
id: upload-release-assets
@ -57,8 +57,8 @@ jobs:
./publish/linux-x64/fdup
./publish/osx-x64/fdup
asset_name: |
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_x64.exe
fdup-${{ steps.get_version.outputs.VERSION }}-win_x86.exe
fdup-${{ steps.get_version.outputs.VERSION }}-linux_x64
fdup-${{ steps.get_version.outputs.VERSION }}-macos_x64
asset_content_type: application/octet-stream

View File

@ -24,7 +24,7 @@ jobs:
- name: Get version from tag
id: get_version
run: echo ::set-output name=VERSION::${GITHUB_REF#refs/tags/v}
run: echo "VERSION=${GITHUB_REF#refs/tags/v}" >> $GITHUB_OUTPUT
- name: Build and Publish
run: |
@ -57,8 +57,8 @@ jobs:
./publish/linux-x64/fdup
./publish/osx-x64/fdup
asset_name: |
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_x64.exe
fdup-${{ steps.get_version.outputs.VERSION }}-win_x86.exe
fdup-${{ steps.get_version.outputs.VERSION }}-linux_x64
fdup-${{ steps.get_version.outputs.VERSION }}-macos_x64
asset_content_type: application/octet-stream

View File

@ -11,22 +11,23 @@ fdup is a small command-line utility written in C# to quickly and easily find du
```bash
$ fdup --help
USAGE:
fdup <path> [OPTIONS]
fdup.exe [path] [OPTIONS]
ARGUMENTS:
<path> The path to search
[path] The path to search. Defaults to the current directory
OPTIONS:
-h, --help Prints help information
-v, --version Prints version information
-r, --recursive When this flag is set, the directory will be scanned recursively. This may take longer
--verbose Enable verbose output
```
## Example
```bash
$ echo "Hello World" > file1
$ echo "Goodbye World" > file2
$ fdup .
$ fdup
Searching /home/user/example
Recursive mode is OFF
Checking hash for file2
@ -34,7 +35,7 @@ Checking hash for file1
No duplicates found!
$ echo "Hello World" > file2
$ fdup .
$ fdup
Searching /home/user/example
Recursive mode is OFF
Checking hash for file2
@ -54,4 +55,4 @@ Contributions are welcome. See [CONTRIBUTING.md](CONTRIBUTING.md).
## License
X10D is released under the MIT License. See [here](https://github.com/oliverbooth/X10D/blob/main/LICENSE.md) for more details.
fdup is released under the MIT License. See [here](https://github.com/oliverbooth/fdup/blob/main/LICENSE.md) for more details.