use wget to check if a remote file exists | commandlinefu.com
use wget to check if a remote file exists - wget --spider -v http://www.server.com/path/file.ext ... commandlinefu.com is the place to record those command-line gems that you return to again and again. Delete that bloated snippets file you've been using a
www.commandlinefu.com |