I'm using curl in this syntax:
curl -o myfile.jpg http://mysite.com/myfile.jpg
If I run this command twice, I get two files:
How can I tell CURL that I want it to overwrite the file if it exists?
migrated from serverfault.com Aug 28 '11 at 16:23
This question came from our site for professional system and network administrators.