general/misc/SSW/
dir_str_replace.pro
Routines
top source dir_str_replace
dir_str_replace, dir_in, string_in, string_out, no_svn=no_svn, move_it=move_it, _extra=_extra
NAME: dir_str_replace PURPOSE: take all of the files in a given directory and replace strings works recursively. Also renames files CALLING SEQUENCE: dir_str_replace, directory, string, replacement, filter=filter INPUT: directory = a directory name, scalar string = a string to replace, can be vector replacement = the replacement string, can be a vector the same size as the input string no_svn = if set, do the string replacement to the output filename, but don't mess with svn. move_it = if set, use svn mv, and not svn cp HISTORY: 5-Jan-2010, jmm, jimm@ssl.berkeley.edu
Parameters
- dir_in
- string_in
- string_out
Keywords
- no_svn
- move_it
- _extra
File attributes
Modification date: | Thu Feb 13 16:43:43 2014 |
Lines: | 52 |