tur 4.5.1

There is a newer version of this package available.
See the version list below for details.
dotnet tool install --global tur --version 4.5.1                
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 4.5.1                
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=tur&version=4.5.1                
nuke :add-package tur --version 4.5.1                

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.

Usage:
  tur dff <dir> [options]

Arguments:
  <dir>  The target directory 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.
  -v, --verbose                              Display detailed logs.
  --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
  -?, -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.
  -v, --verbose                              Display detailed logs.
  --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
  -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
  --preserve-create                          Preserve creation time for destination file.
  --preserve-last-modify                     Preserve last modify time for destination file.
  -?, -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.
  -v, --verbose                              Display detailed logs.
  --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
  -y, --yes                                  Perform deletion without confirmation.
  -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
  --create-before <create-before>            Create time before fitler. e.g., 2022-12-02T16:20:21
  -?, -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 net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  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 was computed.  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 185 2/19/2024
5.3.3 132 2/19/2024
5.3.2 175 2/19/2024
5.3.1 153 2/19/2024
5.3.0 130 2/18/2024
5.2.0 160 2/2/2024
5.1.0 189 5/16/2023
5.0.7 191 5/11/2023
5.0.5 138 5/5/2023
5.0.4 186 4/28/2023
5.0.3 217 4/27/2023
5.0.2 194 4/27/2023
5.0.1 204 4/26/2023
5.0.0 235 4/26/2023
4.8.2 255 4/17/2023
4.8.1 198 4/17/2023
4.8.0 254 4/17/2023
4.7.0 360 1/18/2023
4.6.2 448 12/2/2022
4.6.1 393 12/2/2022
4.6.0 372 12/2/2022
4.5.1 417 11/18/2022
4.5.0 413 11/18/2022
4.4.1 393 11/11/2022
4.4.0 398 11/11/2022
4.3.0 428 11/8/2022
4.2.0 439 11/6/2022
4.1.0 399 11/6/2022
4.0.0 473 11/6/2022
3.2.3 467 5/13/2022
3.2.2 477 5/13/2022
3.2.1 463 4/18/2022
3.2.0 441 4/13/2022
3.1.0 473 4/2/2022
3.0.0 479 3/18/2022
2.0.3 446 3/14/2022
2.0.2 422 3/14/2022
2.0.1 469 3/14/2022
1.2.0 459 3/10/2022
1.1.0 454 3/9/2022
1.0.0 477 3/7/2022