Chcesz kopiować pliki z jednej lokalizacji do drugiej zmieniając nazwy?
Kod:
NAME
mmv - move/copy/append/link multiple files by wildcard patterns
SYNOPSIS
mmv [-m|x|r|c|o|a|l|s] [-h] [-d|p] [-g|t] [-v|n] [--] [from to]
EXAMPLES
Rename all *.jpeg files in the current directory to *.jpg:
mmv '*.jpeg' '#1.jpg'
Replace the first occurrence of abc with xyz in all files in the current directory:
mmv '*abc*' '#1xyz#2'
Rename files ending in .html.en, .html.de, etc. to ending in .en.html, .de.html, etc. in the current directory:
mmv '*.html.??' '#1.#2#3.html'
Rename music files from <track no.> - <interpreter> - <song title>.ogg to <interpreter> - <track no.> - <song
title>.ogg in the current directory:
mmv '* - * - *.ogg' '#2 - #1 - #3.ogg'