public marks

PUBLIC MARKS from dikiy with tags replace & xml

22 January 2008 10:30

ASPN : Python Cookbook : sed/awk : Python script to rename subdirectories of a directory tree, replace strings in files

(via)
I needed to write a sed/awk Python equivalent for walking into a directory tree and renaming certain subdirectories, while also looking into all xml files on the way and replacing/modifying certain strings in those files.

dikiy's TAGS related to tag replace

default +   editor +   files +   friendfeed +   gnome +   multiple +   python +   scite +   script +   search +   sed +   text +   user +   vim +   xml +