command line - Change the name of many files at the same time - Ask Ubuntu


i want change name files cv.aux, cv.log , cv.out official_curriculum_vitae.aux, official_curriculum_vitae.log , official_curriculum_vitae.out in 1 simple command. there such command?

mmv such command (available install universe repository).

name        mmv - move/copy/append/link multiple files wildcard patterns 

e.g. in case

mmv 'cv.*' 'official_curriculum_vitae.#1' 

otherwise, either

prename -v -- 's/^cv/official_curriculum_vitae/' cv.* 

or regular mv simple shell loop

for f in cv.*; mv -v -- "$f" "official_curriculum_vitae.${f#cv.}"; done 

Comments

Popular posts from this blog

drivers - No wi-fi network after install - Ask Ubuntu

nvidia - NV18 [GeForce4 MX 4000] driver - Ask Ubuntu