quoll 1.3.0

dotnet tool install --global quoll --version 1.3.0
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 quoll --version 1.3.0
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=quoll&version=1.3.0
nuke :add-package quoll --version 1.3.0

Command line tool to DELETE files. All supported features can be found in this roadmap issue.

Install

You can go directly download from the Release page according to your target platform.

Or you can use dotnet global tools if you have already .NET 6 installed.

dotnet tool install --global quoll

For Mac users with zsh, please manually add the dotnet global tool path to ~/.zshrc. Simply add this line as descriped in this issue.

export PATH=$HOME/.dotnet/tools:$PATH

If you would like to upgrade to latest version as you already installed, you can:

dotnet tool update --global quoll

Usage

quoll [options] [dir]

-y, --yes             (Default: false) Confirmation for deletion.

-n, --name            Filter by glob pattern file names. Multiple names can be separated by comma. Default to *.

-f, --folder          Filter by glob pattern folder names. Multiple names can be separated by comma. Default not to delete folders, unless      
                    --remove-empty-dir specified.

-s, --size            Filter by file size(less than or equals), valid strings are xxB, xxKB, xxMB, xxGB.

-b, --backup          Save to backup location before deletion.

--from-file           File paths to delete. One file path per line.

-r, --recursive       Include sub directories. Default to false.

--remove-empty-dir    Remove all empty folders.

--help                Display this help screen.

--version             Display version information.

dir (pos. 0)          The target folder. Default to current folder.

License

MIT

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
1.3.0 463 2/8/2022
1.2.0 375 2/7/2022
1.1.0 425 1/28/2022