#!/bin/bash
cd `dirname $0`/..
ls tmp/capybara/ |grep -v -e '-diff.png' | xargs -n 1 -I '{}' cp 'tmp/capybara/{}' spec/screenshots/screenshots/

#!/bin/bash
cd `dirname $0`/..
ls tmp/capybara/ |grep -v -e '-diff.png' | xargs -n 1 -I '{}' mv 'tmp/capybara/{}' spec/screenshots/screenshots/

Use mv to ensure that old screenshots aren't continually re-copied
Use mv to ensure that old screenshots aren't continually re-copied
