Skip to main content

Thread: How can I rename all my files at once?


hello,

have bunch of image files have _mini.jpg @ end. ex: lorem_mini.jpg. hundreds of files have suffix. want remove _mini preserve extension. how can in command line?

code:
rename -v 's/_mini(.jpg)$/$1/' *.jpg


Forum The Ubuntu Forum Community Ubuntu Official Flavours Support General Help [ubuntu] How can I rename all my files at once?


Ubuntu

Comments

Popular posts from this blog

Some mp4 files not displaying correctly (CS6)

Thread: Samba is not authenticating with LDAP