Archive

Posts Tagged ‘bash’

Rename all files in all subdirectories

August 19, 2015 Leave a comment

for x in $(find .); do mv $x $(echo "$x" | sed 's/text-from-replace/text-to-replace/'); done

Advertisements
Categories: Mac stuff Tags: