On Thu, Feb 19, 2026 at 21:45:23 -0800, Chime Hart wrote: > Hi David: You mention "rename" when I was in DOS they had an "ren" which I > wish > I had in Debian, as it handled wild-cards really well. I could type > ren *.txt *.cnn > Sure wish we had something simple like that. Thanks in advance
hobbit:~$ cd /tmp hobbit:/tmp$ touch 1.foo 2.foo 3.foo hobbit:/tmp$ rename 's/\.foo$/.bar/' *.foo hobbit:/tmp$ ls -l [123]* -rw-rw-r-- 1 greg greg 0 Feb 20 07:16 1.bar -rw-rw-r-- 1 greg greg 0 Feb 20 07:16 2.bar -rw-rw-r-- 1 greg greg 0 Feb 20 07:16 3.bar It's not quite as simple as you wanted, but it'll get the job done. There's a great deal *more* it can do as well.

