#rest #directory #keep #file #line #numbers #filenames

yanked delete-rest

A tool to extract image files selected by clients

0.3.0 Mar 19, 2024

#24 in #filenames

Download history 130/week @ 2024-03-14 26/week @ 2024-03-21 8/week @ 2024-03-28 10/week @ 2024-04-04

127 downloads per month

MIT license

38KB
561 lines

delete-rest

This is a simple command line utility for selecting files to keep and deleting the rest. It is meant to be used in a directory with a large number of files, that have names differed by a pattern, and are numbered sequentially.

It was primarily written for photos, but it can be used for any type of file, as long as the filenames are numbered sequentially.


lib.rs:

Main library crate

Most of the logic is implemented here, or in the one of the child modules.

Dependencies

~5.5–7.5MB
~138K SLoC