Anyone know where I can get a mac-based program that will allow me to mass edit an identical string of characters over hundreds of pages and directories?
Mass edit software for OSX
Collapse
X
-
Mass edit software for OSX
If you have a music site that sells digital downloads, please contact me.Tags: None -
Comment
-
-
Learn bash for the term. for i in `ls -1` RULES!Skype rhcp011235 | Cell Phone 212.812.9043 | Email [email protected]Comment
-
Just found some perfect freeware
TexFinderX
BBEdit is a great tool but it is not free. If I was looking for an editor, that would be one thing, but I would only ever use it for search and replace purposes.If you have a music site that sells digital downloads, please contact me.Comment
-
Use the power of sed and awk. these are preinstalled on every Mac Os.
E.g. You have a directory called "$DIRECTORY", which is full of html files. in each of them you would like to substitute the sting "Example Title" to "My Title" then you could do this one liner in your terminal:
cd $DIRECTORY; ls -1 *.html | while read line; do sed -e 's/Example Title/My Title' "$line" > "$line.tmp"; mv -v "$line.tmp" "$line";done
This does substitute Example Title through My Title outputs it to filename.tmp and moves filename.tmp to filename.recip free directory | webmaster (on) sexyrails (in) com (use PGP)Comment

Comment