[ILUGC] Re: [Help] Looking simple solution for renaming multiple files in shell​

  • From: Arun Khan <knura9@xxxxxxxxx>
  • To: ILUG-Chennai <ilugc@xxxxxxxxxxxxx>
  • Date: Mon, 6 Aug 2018 10:48:27 -0500

On Sun, Aug 5, 2018 at 8:43 AM, Baskar Selvaraj <baskar@xxxxxxxxxxxx> wrote:



ls *.jpg | rename 's/.*(.{15})/\1/'


I'm glad you discovered 'rename'  I was about to reply but then I saw your post.

-- Arun Khan
_____________________________________
ILUGC List: http://www.freelists.org/list/ilugc
ILUGC Web: http://ilugc.in/

Other related posts: