Compare internet files with ease!
Tuesday, July 27, 2010

When dealing with a CDN-based platform, the issue of synced files is often an issue. You’ve deployed to the CDN, and are curious if the deployed file is the updated file.

After running across this issue several times, I built a quick shell script to easily determine if two online files are the same.

After downloading, you’ll use it like this:
compare.sh URL1 URL2

If the files match, you’ll get:
Same.

Otherwise, you’ll get:
Different. Are either URLs password protected?

Download here:
compare.sh


(0) Comments • (16) TrackbacksPermalink
Page 1 of 1 pages