Avatar Ilya Mateyko

go.astrophena.name/tools Module

GitHub repository | Commit (90b6d01)

Personal tools.

renamer

Renamer renames files in a specified directory sequentially, starting from a given number.

Usage

$ renamer [flags...] <dir>

It sorts the files based on name, time, size, or type before renaming. If a file with the new name already exists, it skips the file and continues to the next.