View Single Post
Old 15th October 2010
IdOp's Avatar
IdOp IdOp is offline
Too dumb for a smartphone
 
Join Date: May 2008
Location: twisting on the daemon's fork(2)
Posts: 1,027
Default

That rename command also comes with Slackware, and can be pretty handy. I missed having it on NetBSD, so I wrote a bash script to do the similar thing. It's attached below for anyone who is very bored. It seems to work, but hasn't been heavily used, no warranty. Probably has bash-isms.

It uses sed, but only in the most mundane way.
Attached Files
File Type: gz rename.sh.gz (617 Bytes, 97 views)
Reply With Quote