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
nuke :add-package tur --version 5.3.4

Tur

master

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

GPLv3

Product 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 123 2/19/2024
5.3.3 80 2/19/2024
5.3.2 125 2/19/2024
5.3.1 121 2/19/2024
5.3.0 81 2/18/2024
5.2.0 110 2/2/2024
5.1.0 162 5/16/2023
5.0.7 160 5/11/2023
5.0.5 128 5/5/2023
5.0.4 160 4/28/2023
5.0.3 183 4/27/2023
5.0.2 160 4/27/2023
5.0.1 175 4/26/2023
5.0.0 204 4/26/2023
4.8.2 207 4/17/2023
4.8.1 169 4/17/2023
4.8.0 217 4/17/2023
4.7.0 328 1/18/2023
4.6.2 412 12/2/2022
4.6.1 348 12/2/2022
4.6.0 361 12/2/2022
4.5.1 388 11/18/2022
4.5.0 382 11/18/2022
4.4.1 362 11/11/2022
4.4.0 371 11/11/2022
4.3.0 401 11/8/2022
4.2.0 412 11/6/2022
4.1.0 372 11/6/2022
4.0.0 439 11/6/2022
3.2.3 423 5/13/2022
3.2.2 464 5/13/2022
3.2.1 433 4/18/2022
3.2.0 411 4/13/2022
3.1.0 442 4/2/2022
3.0.0 446 3/18/2022
2.0.3 430 3/14/2022
2.0.2 407 3/14/2022
2.0.1 451 3/14/2022
1.2.0 443 3/10/2022
1.1.0 419 3/9/2022
1.0.0 460 3/7/2022