7 unstable releases (3 breaking)

0.3.1 May 8, 2024
0.3.0 Feb 20, 2024
0.2.0 Feb 15, 2024
0.1.0 Jan 8, 2024
0.0.20 Jan 8, 2024

#1183 in Command line utilities

Apache-2.0

6MB
1.5K SLoC

File Tool

CI Crates.io Version License GitHub release

A tool to manage and cleanup files on your hard drive.

Usage: filetool [OPTIONS] <COMMAND>

Commands:
  canonical
          Renames files to standard names. Typically this is renaming unusual file extensions
  checksum
          Calculates checksums (xxhash3-64bit) of files in selected directories
  clean-empty-directory
          Removes directories that do not contain any files
  duplicate
          Finds duplicate files and conditionally deletes them
  rmlist
          Delete files from file lists
  similar-name
          List files with similar file names
  help
          Print this message or the help of the given subcommand(s)

Options:
  -v, --verbose...
          Increase logging verbosity
  -q, --quiet...
          Decrease logging verbosity
  -h, --help
          Print help
  -V, --version
          Print version

Installation

Linux

curl -o filetool -O -L https://github.com/jeremyje/filetools/releases/download/v0.3.1/filetool; chmod +x filetool

Windows

(New-Object System.Net.WebClient).DownloadFile("https://github.com/jeremyje/filetools/releases/download/v0.3.1/filetool.exe", "filetool.exe")

Dependencies

~41–57MB
~1M SLoC