On Tue, Oct 08, 2019 at 09:45:49AM +1100, luv-main wrote: > > Dunno if slackware has it packaged, but the perl-based rename command is > available from https://metacpan.org/release/File-Rename
Thanks but no thanks. Slackware rename is part of util-linux. > > On Ubuntu, "apt-get install rename". > Tried that, don't like it. For a beginner, the util-linux one is much simpler, this from the man page: > EXAMPLES > Given the files foo1, ..., foo9, foo10, ..., foo278, the commands > > rename foo foo0 foo? > rename foo foo0 foo?? > > will turn them into foo001, ..., foo009, foo010, ..., foo278. And > > rename .htm .html *.htm > > will fix the extension of your html files. No need to understand sed :) Cheers ... Duncan. _______________________________________________ luv-main mailing list [email protected] https://lists.luv.asn.au/cgi-bin/mailman/listinfo/luv-main
