Categories
How to append to a file using curl in the console?
Hello. There is a command curl -o file.txt http://site.com that saves text from site.com to file.txt , but file.txt is overwritten all the time. How can I make text start on a new line?
curl -o file.txt http://site.com
Answer the question
In order to leave comments, you need to log in
curl http://site.com >> file.txt
Didn't find what you were looking for?
Ask a Question
731 491 924 answers to any question