Posted By

craig0990 on 12/03/10


recursive copy rename recursively

Versions (?)

Who likes this?

1 person have marked this snippet as a favorite


Recursively copy and rename files

 / Published in: Bash

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

Report this snippet  

You need to login to post a comment.