[ILUGC] Re: [Help] Looking simple solution for renaming multiple files in shell
- From: Baskar Selvaraj <baskar@xxxxxxxxxxxx>
- To: ilugc@xxxxxxxxxxxxx
- Date: Mon, 6 Aug 2018 21:23:03 +0530
ls *.jpg | rename 's/.*(.{15})/\1/'
I'm glad you discovered 'rename' I was about to reply but then I saw your
post.
I prefer to try with one liners before going with scripting.
S. Baskar
_____________________________________
ILUGC List:
//www.freelists.org/list/ilugc
ILUGC Web:
http://ilugc.in/
Other related posts: