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

download - Firefox cannot save files (most of the time), how to solve? - Super User

windows - "-2146893807 NTE_NOT_FOUND" when repair certificate store - Super User