bkp
Simple command-line utility for creating numbered backups of files and directories with optional TAR archiving.
bkp is a command-line backup utility that creates numbered copies of files and directories. When backing up a file or directory, it automatically appends sequential numbers (.b01, .b02, etc.) to avoid overwriting existing backups. The tool supports both simple file copying and TAR archive creation.
The utility operates by creating backups in the same directory as the source files, regardless of the current working directory. It can process multiple files in a single command and provides restoration functionality to recover files from their numbered backups. When using the archive mode (-a flag), bkp can embed metadata including author information, creation timestamps, and commit messages within TAR files.
Designed for developers and system administrators who need lightweight backup functionality, bkp integrates with standard shell workflows and supports interactive message editing through vi or custom EDITOR configurations. The tool requires Python 3.6+ and has been tested primarily on Linux systems.
Installation
# via pip
pip install bkp

Alternatives & related tools
notox
CLI tool for renaming files to remove toxic or problematic characters from filenames
bt
TUI file manager with tree-based navigation for manipulating files and directories in terminal
cull
Interactive TUI disk space analyzer for scanning directories, finding large files, and deleting them from the terminal.
deletor
File deletion tool with interactive TUI and CLI modes supporting filters, trash integration, and batch operations.
hazelnut
Terminal-based automated file organizer that watches folders and applies rules to move, copy, rename, or delete files based on patterns
add a badge to your README
Maintain bkp? Show that it's featured on trmn. The badge links back to this page.
[](https://www.trmn.sh/tools/bkp?utm_source=badge)<a href="https://www.trmn.sh/tools/bkp?utm_source=badge"><img src="https://www.trmn.sh/badge/bkp.svg" alt="Featured on trmn" height="20"></a>