Return to Snippet

Revision: 3949
at October 8, 2007 04:22 by therobot


Updated Code
sed -i.bak s/check_http_redirect_temporarily/check_http_redirect/ *

Revision: 3948
at October 8, 2007 04:14 by therobot


Updated Code
for i in *; do sed s/oldtext/newtext/ < $i > $i.mod; mv $i.mod $i; done;

Revision: 3947
at October 8, 2007 04:13 by therobot


Initial Code
for i in *; do sed s/check_http_redirect/check_http_redirect_temporarily/ < $i > $i.mod; mv $i.mod $i; done;

Initial URL

                                

Initial Description

                                

Initial Title
Replace some text in multiple files in a directory

Initial Tags

                                

Initial Language
Bash