tur 5.3.4
dotnet tool install --global tur --version 5.3.4
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest # if you are setting up this repo dotnet tool install --local tur --version 5.3.4
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=tur&version=5.3.4
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
nuke :add-package tur --version 5.3.4
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Tur
Command line tool to manage files.
This is developed only for my personal daily usage purpose, it's not intended to fit all requirements for everyone, use it at your own risk.
Installation
Recommend
Install via NuGet package.
dotnet tool install -g tur
Fot tab completion, please refer to dotnet-suggest.
Alternative
Go to Release page, download the binary according to your computer architecture. The binary is self contained executable file, make it not depend on any other files in your system.
Usage
At this moment, tur
supports thress subcommands:
In general the syntax likes:
tur [command] [options]
dff
PS C:\Users\jerry> tur dff --help
Description:
Duplicate files finder for target directories.
Usage:
tur dff <dir>... [options]
Arguments:
<dir> The target directories to analysis.
Options:
-i, --include <include> Glob patterns for included files.
-e, --exclude <exclude> Glob patterns for excluded files.
-o, --output <output> The output directory for logs or any file generated during processing.
--last-modify-after <last-modify-after> Last modify time after filter. e.g., 2022-10-01T10:20:21
--last-modify-before <last-modify-before> Last modify time before fitler. e.g., 2022-08-02T16:20:21
--create-after <create-after> Create time after filter. e.g., 2022-07-01T10:20:21
--create-before <create-before> Create time before fitler. e.g., 2022-12-02T16:20:21
--ignore-error Ignore error during file processing.
-v, --verbose Enable logging in detailed mode.
--no-user-interaction Indicates running environment is not user interactive mode.
-?, -h, --help Show help and usage information
sync
PS C:\Users\jerry> tur sync --help
Description:
Synchronize files from source to destination directory.
Usage:
tur sync <src> <dest> [options]
Arguments:
<src> The source directory.
<dest> The destination directory.
Options:
-i, --include <include> Glob patterns for included files.
-e, --exclude <exclude> Glob patterns for excluded files.
-o, --output <output> The output directory for logs or any file generated during processing.
--last-modify-after <last-modify-after> Last modify time after filter. e.g., 2022-10-01T10:20:21
--last-modify-before <last-modify-before> Last modify time before fitler. e.g., 2022-08-02T16:20:21
-v, --verbose Enable logging in detailed mode.
--no-user-interaction Indicates running environment is not user interactive mode.
-n, --dry-run Perform a trial run with no changes made.
-d, --delete Delete extraneous files from destination directory.
--size-only Skip files that match in both name and size.
--create-after <create-after> Create time after filter. e.g., 2022-07-01T10:20:21
--create-before <create-before> Create time before fitler. e.g., 2022-12-02T16:20:21
--ignore-error Ignore error during file processing.
-?, -h, --help Show help and usage information
rm
PS C:\Users\jerry> tur rm --help
Description:
Remove files or directories.
Usage:
tur rm [<dest>] [options]
Arguments:
<dest> The destination directory.
Options:
-i, --include <include> Glob patterns for included files.
-e, --exclude <exclude> Glob patterns for excluded files.
-o, --output <output> The output directory for logs or any file generated during processing.
--last-modify-after <last-modify-after> Last modify time after filter. e.g., 2022-10-01T10:20:21
--last-modify-before <last-modify-before> Last modify time before fitler. e.g., 2022-08-02T16:20:21
-v, --verbose Enable logging in detailed mode.
--no-user-interaction Indicates running environment is not user interactive mode.
-f, --file Delete files only.
-d, --dir Delete directories only.
--empty-dir Delete all empty directories.
--from-file <from-file> Delete all files/directories listed in specified file.
--create-after <create-after> Create time after filter. e.g., 2022-07-01T10:20:21
-n, --dry-run Perform a trial run with no changes made.
--create-before <create-before> Create time before fitler. e.g., 2022-12-02T16:20:21
--ignore-error Ignore error during file processing.
-?, -h, --help Show help and usage information
Misc
This project is under active development, you can peek the CHANGELOG for each release.
License
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net7.0 is compatible. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
This package has no dependencies.
Version | Downloads | Last updated |
---|---|---|
5.3.4 | 187 | 2/19/2024 |
5.3.3 | 134 | 2/19/2024 |
5.3.2 | 177 | 2/19/2024 |
5.3.1 | 155 | 2/19/2024 |
5.3.0 | 134 | 2/18/2024 |
5.2.0 | 162 | 2/2/2024 |
5.1.0 | 191 | 5/16/2023 |
5.0.7 | 193 | 5/11/2023 |
5.0.5 | 140 | 5/5/2023 |
5.0.4 | 188 | 4/28/2023 |
5.0.3 | 219 | 4/27/2023 |
5.0.2 | 196 | 4/27/2023 |
5.0.1 | 206 | 4/26/2023 |
5.0.0 | 237 | 4/26/2023 |
4.8.2 | 257 | 4/17/2023 |
4.8.1 | 202 | 4/17/2023 |
4.8.0 | 256 | 4/17/2023 |
4.7.0 | 362 | 1/18/2023 |
4.6.2 | 450 | 12/2/2022 |
4.6.1 | 395 | 12/2/2022 |
4.6.0 | 374 | 12/2/2022 |
4.5.1 | 419 | 11/18/2022 |
4.5.0 | 415 | 11/18/2022 |
4.4.1 | 395 | 11/11/2022 |
4.4.0 | 400 | 11/11/2022 |
4.3.0 | 430 | 11/8/2022 |
4.2.0 | 441 | 11/6/2022 |
4.1.0 | 401 | 11/6/2022 |
4.0.0 | 475 | 11/6/2022 |
3.2.3 | 469 | 5/13/2022 |
3.2.2 | 479 | 5/13/2022 |
3.2.1 | 465 | 4/18/2022 |
3.2.0 | 443 | 4/13/2022 |
3.1.0 | 475 | 4/2/2022 |
3.0.0 | 481 | 3/18/2022 |
2.0.3 | 448 | 3/14/2022 |
2.0.2 | 424 | 3/14/2022 |
2.0.1 | 471 | 3/14/2022 |
1.2.0 | 461 | 3/10/2022 |
1.1.0 | 458 | 3/9/2022 |
1.0.0 | 479 | 3/7/2022 |