I am trying to download a file and make the filename of the file be the md5sum of the URL. I know to use wgets to download the file but I do not know how to do the rest...any help would be appreciated.
OK, I have neither wget or md5sum, only curl and md5
Looking at the man page for wget, it might go something like:
$ X="http://scrivener.s3.amazonaws.com/Scrivener.dmg"
$ wget $X -O $(echo $X | md5sum)
But, check the man page
Thank you so much for your help.