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 183 2/19/2024
5.3.3 130 2/19/2024
5.3.2 173 2/19/2024
5.3.1 151 2/19/2024
5.3.0 128 2/18/2024
5.2.0 158 2/2/2024
5.1.0 187 5/16/2023
5.0.7 189 5/11/2023
5.0.5 136 5/5/2023
5.0.4 184 4/28/2023
5.0.3 215 4/27/2023
5.0.2 192 4/27/2023
5.0.1 202 4/26/2023
5.0.0 233 4/26/2023
4.8.2 253 4/17/2023
4.8.1 196 4/17/2023
4.8.0 252 4/17/2023
4.7.0 358 1/18/2023
4.6.2 446 12/2/2022
4.6.1 391 12/2/2022
4.6.0 370 12/2/2022
4.5.1 415 11/18/2022
4.5.0 411 11/18/2022
4.4.1 391 11/11/2022
4.4.0 396 11/11/2022
4.3.0 426 11/8/2022
4.2.0 437 11/6/2022
4.1.0 397 11/6/2022
4.0.0 471 11/6/2022
3.2.3 465 5/13/2022
3.2.2 475 5/13/2022
3.2.1 461 4/18/2022
3.2.0 439 4/13/2022
3.1.0 471 4/2/2022
3.0.0 477 3/18/2022
2.0.3 444 3/14/2022
2.0.2 420 3/14/2022
2.0.1 467 3/14/2022
1.2.0 457 3/10/2022
1.1.0 452 3/9/2022
1.0.0 475 3/7/2022