Creative and Strange
Sunday, December 2, 2018
Bulk Rename of Filename
Bulk change of file extension. For an example, change the JPG to jpg
for x in `ls *JPG`; do mv $x $(basename $x .JPG).jpg; done
To find all basename case insensitive
$(basename $x .[Jj][Pp][Gg])
Newer Post
Older Post
Home