renaming multiple files in bash
17. 12. 2010 12:00 | Linux | Komentáře nejsou povolené u textu s názvem renaming multiple files in bashOn CentOS:
for i in *.mp3 ; do j=`echo $i | sed 's/asdf/zxcv/g'`; mv -f "$i" "$j"; done
On Debian:
rename 's/asdf/zxcv/g' *.mp3
Powered by WordPress with Pool theme design by Borja Fernandez.
Entries and comments feeds.
Valid XHTML and CSS. ^Top^