8 releases (4 breaking)

new 0.4.0 Mar 2, 2025
0.3.1 May 8, 2024
0.3.0 Feb 20, 2024
0.2.0 Feb 15, 2024
0.0.20 Jan 8, 2024

#159 in Command line utilities

Download history 1/week @ 2024-11-27 91/week @ 2024-12-04 84/week @ 2024-12-11 3/week @ 2024-12-18 3/week @ 2024-12-25 1/week @ 2025-01-01 19/week @ 2025-01-08 138/week @ 2025-02-26

138 downloads per month

Apache-2.0

6MB
2K 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.4.0/filetool; chmod +x filetool

Windows

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

Dependencies

~32–45MB
~849K SLoC