this post was submitted on 23 Sep 2026
27 points (96.6% liked)

Linux

67787 readers
369 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 7 years ago
MODERATORS
 

https://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.

top 1 comments
sorted by: hot top controversial new old
[–] thingsiplay@lemmy.ml 2 points 5 days ago

Added single dash - to read newline separated list of files from stdin.