======mmv====== Command-line tool for moving/renaming multiple files. =====Use===== ''mmv [options] [from] [to]'' You use ''#[number]'' in your ''[to]'' to represent //wildcards// in your ''[from]''. Add the ''-n'' flag to do a dry run when testing. ====Examples==== Remove part of filename\\ EG: All files ''Treme SxxExx.mp4'' → ''SxxExx.mp4'': mmv 'Treme *' '#1' Move files from child directories into parent, prefixing with directory name\\ EG: ''SAMPLES/PEOPLE/YEARGH.WAV'' -> ''SAMPLES/PEOPLE_YEARGH.WAV'': mmv '*/*' '#1_#2' {{tag>software guide CLI}}