renaming files
silver.bullet at zoho.com
silver.bullet at zoho.com
Sun Sep 27 20:52:53 UTC 2015
On Sun, 27 Sep 2015 21:23:37 +0100, Colin Watson wrote:
>On Sun, Sep 27, 2015 at 09:58:02PM +0200, silver.bullet at zoho.com wrote:
>> Another useful command could be
>>
>> [rocketmouse at archlinux ~]$ man rename | grep EXAMPLES -A10
>
>It is worth noting that Ubuntu ships a different version of rename from
>that shipped by Arch. It's still definitely a useful programmable tool
>for this kind of job, but in this case it's more important than usual
>to consult Ubuntu's documentation when advising Ubuntu users.
My apologies, I just checked that both renames are from util-linux.
However, my example using bash, ls, for, sed and mv to rename, provides
exactly what the OP is asking for and should work on both distros.
More information about the ubuntu-users
mailing list