mirror of
https://github.com/oliverbooth/fdup.git
synced 2024-11-09 23:25:42 +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
|
- name: Get version from tag
|
||||||
id: get_version
|
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
|
- 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: false
|
prerelease: true
|
||||||
|
|
||||||
- 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
|
||||||
|
6
.github/workflows/release.yml
vendored
6
.github/workflows/release.yml
vendored
@ -24,7 +24,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Get version from tag
|
- name: Get version from tag
|
||||||
id: get_version
|
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
|
- 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,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
|
||||||
@ -54,4 +55,4 @@ Contributions are welcome. See [CONTRIBUTING.md](CONTRIBUTING.md).
|
|||||||
|
|
||||||
## License
|
## 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