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:
myfile.jpg
myfile-1.jpg
How can I tell CURL that I want it to overwrite the file if it exists?
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:
myfile.jpg
myfile-1.jpg
How can I tell CURL that I want it to overwrite the file if it exists?