mirror of
https://github.com/oliverbooth/fdup.git
synced 2024-11-09 16:45:41 +00:00
Compare commits
5 Commits
c65d6ed414
...
366a09e042
Author | SHA1 | Date | |
---|---|---|---|
366a09e042 | |||
9681f41354 | |||
5876499f2c | |||
4355bfd49e | |||
2baefca9e4 |
8
.github/workflows/prerelease.yml
vendored
8
.github/workflows/prerelease.yml
vendored
@ -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
|
||||
|
6
.github/workflows/release.yml
vendored
6
.github/workflows/release.yml
vendored
@ -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
|
||||
|
11
README.md
11
README.md
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user