I'm using curl in this syntax:curl -o myfile.jpg http://mysite.com/myfile.jpgIf I run this command twice, I get two files:myfile.jpgmyfile-1.jpgHow can I tell CURL that I want it to overwrite the file if it exists?
How can I specify that curl (via command line) overwrites a file if it already exists?
filenames;io;curl
Use:curl http://mysite.com/myfile.jpg > myfile.jpg