Recursively copy and rename files with find and sed

Script to recursively copy and rename files with find and sed
 

find aber/cs25010/ -iname "*.txt" -printf 'cp %p %p\n' \
| sed 's/\.txt$/\.php/' \
| while read l; do eval $l; done


Posted

in

by

Tags: