kduy
9/19/2016 - 9:32 PM

Bash

Bash

for i in $(ls ./)
	do
		new_name="${i/replace_this/with_this}"
		echo $new_name
		$(mv "./$i" "./$new_name")		
	done