Elektrine lite

← Feed

@thingsiplay@lemmy.ml

2026-09-23 12:49 UTC

[Python, commandline] NamePlate: Rename files and directories by transforming their basename github.com/thingsiplay/nameplate I wrote some niche commandline Python script to rename filenames. I know there are many tools to do this already. It’s in the vein of something like Perl rename command. Maybe someone is interested, I don’t know. name --append "_v2" -- *.py name --glob --replace " (*" -- *.sfc Manual installation only: git clone https://github.com/thingsiplay/nameplate cd nameplate mv name.py name # The path below is just a suggestion. This depends on your system. install --verbose -t ~/.local/bin/ name BTW, use option -n (–dry-run) to test commands without applying any changes on the filesystem. The README got some more examples.

Replies (1)