Gentoo Archives: gentoo-user

From: Daniel Campbell <zlg@g.o>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] showing files in numerical order
Date: Wed, 02 Nov 2016 09:36:11
Message-Id: 2cda070e-2e15-d83f-1910-953ffe73a67b@gentoo.org
In Reply to: Re: [gentoo-user] showing files in numerical order by Emanuele Rusconi
1 On 10/29/2016 04:59 AM, Emanuele Rusconi wrote:
2 > Have a look at renamexm from sys-apps/rename (it's actually called
3 > rename
4 > but for Gentoo is was renamed to avoid a collision). It has a lot more
5 > options than rename and defaults to prompting you if you try to
6 > rename to
7 > an existing file.
8 >
9 >
10 > I use vidir from sys-apps/moreutils.
11 > All the power of vim (or whatever you set in $VISUAL) and no need to
12 > pray that your incantation is correct: you edit the file list as a text,
13 > and when you're satisfied, save and exit.
14 >
15 > -- Emanuele Rusconi
16 >
17 I second the vidir recommendation. I can't tell you how many times it's
18 made batch renaming easy, powerful, and intuitive for me.
19
20 --
21 Daniel Campbell - Gentoo Developer
22 OpenPGP Key: 0x1EA055D6 @ hkp://keys.gnupg.net
23 fpr: AE03 9064 AE00 053C 270C 1DE4 6F7A 9091 1EA0 55D6

Attachments

File name MIME type
signature.asc application/pgp-signature