in reply to search and replace

find . -type f -print0 | xargs -0 perl -pi -e s/2013/2014/g

Although you might want to make a backup first and limit that to non-binary files...

Replies are listed 'Best First'.
Re^2: search and replace
by Anonymous Monk on Feb 02, 2014 at 19:54 UTC

    s/might want to/should definitely/

Re^2: search and replace
by Kenosis (Priest) on Feb 02, 2014 at 20:11 UTC

    Contact info: nnn-555-2013

    s/2013/2014/g

    Why is their phone not working???!

      Hey, don't criticise my code. It matches the spec.

        I tried calling the number to apologize, but it still doesn't work...

      Very interesting point. Upvoted. But, at the same time, the Anonymous Monk's proposal did fit perfectly the OP's requirement: "a perl script that will find all instances of 2013 on a website and change it to 2014".

        Agree that the OP's specs were met by s/2013/2014/g; the posting was just a way of wondering out loud whether the OP had considered potential collateral damage.