You got it right! The -O curl flag keeps the original filename from the URL, while -o lets you rename it.
One extra tip: -O is super handy when you’re downloading multiple files in one go. Like, `curl -O https://example.com/file1.zip -O https://example.com/file2.zip`.
But if you wanna save to a specific folder, -o is your friend: `curl -o /path/to/folder/customname.zip https://example.com/file.zip`.
Also, check out `man curl` for more flag magic—tons of hidden gems in there!
One extra tip: -O is super handy when you’re downloading multiple files in one go. Like, `curl -O https://example.com/file1.zip -O https://example.com/file2.zip`.
But if you wanna save to a specific folder, -o is your friend: `curl -o /path/to/folder/customname.zip https://example.com/file.zip`.
Also, check out `man curl` for more flag magic—tons of hidden gems in there!
