Last active
April 12, 2021 11:14
-
-
Save rafamdr/65f2335ea86d4f3d3334903bbaa7079e to your computer and use it in GitHub Desktop.
curl with progress bar
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| curl --progress-bar \ | |
| -o sending_output.txt \ | |
| [email protected] \ | |
| https://sitetest.io/upload | |
| # If you want a progress meter for HTTP POST or PUT requests, you need to redirect the response output to a file, | |
| # using shell redirect (>), -o [file] or similar. | |
| # Source: https://stackoverflow.com/questions/9973056/curl-how-to-display-progress-information-while-uploading#answer-39302427:~:text=I%20had%20trouble%20with%20the%20accepted%20answer's%20command%20redirection%20and%20found |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment