Nathaniel Knight

Reflections, diversions, and opinions from a progressive ex-physicist programmer dad with a sore back.

Project: Uniqopy

I just published a little tool for giving files unique names. It's written in Rust; you can find the source code on GitHub.

The idea of this tool is to copy a file, giving the copy a new name that will be unique every time. Any time you might be giving files names like file-version2-final.txt, you could use uniqopy instead.

The tool's goals are:

Non-goals are:

With these in mind, I made the following decisions:

The whole thing is less than a hundred lines of code with a dozen dependencies (most of which come from chrono). Cargo (Rust's packaging and build too) continues to be delightfully easy to use, so uniqopy is published to Crates.io. If you've already got Rust you can install uniqopy with

cargo install uniqopy

and take it for a spin.