Tuesday, March 19, 2013

sed -i licious

i decided to mirror a site.  but it has all these gross links in it.  
i needed to delete them to match reality.

find ./ -type f -exec sed -i 's/ftp:\/\/barf.site\/pub\/barf//' {} \;

and that was that.
Post a Comment