Wcurl: a curl wrapper to download files
Samuel Henrique introduces "wcurl," a wrapper for curl simplifying file downloads via the terminal. It offers default settings for common use cases, aiming to ease file downloads without complex curl parameters. Available in Debian unstable since July 2, 2024, with plans for wider distribution.
Read original articleThe blog post by Samuel Henrique introduces "wcurl," a wrapper for the curl command designed to simplify file downloads via the terminal. The wcurl script provides default settings for common use cases, such as encoding URLs, downloading multiple files in parallel, following redirects, and automatically naming output files. It aims to streamline the process of downloading files without the need to remember complex curl parameters. The post highlights the availability of wcurl in Debian unstable since July 2, 2024, with plans for inclusion in Debian testing and backports. The script is included in the Debian curl package starting from version 8.8.0-2. Samuel discusses the motivation behind wcurl, addressing the common struggle of users in remembering curl parameters for file downloads. The post also touches on the idealization of a new executable like wcurl to complement curl's functionality. Samuel emphasizes the importance of feedback and acknowledges contributors who helped refine the tool. The post concludes with information on providing feedback, naming considerations, and acknowledgments for support received during the development of wcurl.
Related
Wc2: Investigates optimizing 'wc', the Unix word count program
The GitHub project "wc2" presents an innovative algorithm for the `wc` program, focusing on asynchronous state-machine parsing in C and JavaScript. It enhances efficiency, scalability, and speed compared to traditional `wc` implementations.
What scripting languages come out of the box on Debian 12?
The article discusses pre-installed scripting languages in Debian 12: bash, Python 3, awk, sed, and Perl. Emphasizes convenience for offline work, ease of script transfer, and benefits of learning Python.
Download Accelerator – Async Rust Edition
This post explores creating a download accelerator with async Rust, emphasizing its advantages over traditional methods. It demonstrates improved file uploads to Amazon S3 and provides code for parallel downloads.
Start all of your commands with a comma (2009)
The article discusses creating a ~/bin/ directory in Unix to store custom commands, avoiding name collisions with system commands by prefixing custom commands with a comma. This technique ensures unique, easily accessible commands.
The C Standard charter was updated, now with security principles as well
The ISO/IEC JTC1/SC22/WG14 committee oversees C Standard development, focusing on portability, efficiency, and stability. Collaboration with the C++ committee ensures compatibility. Principles guide feature integration, code efficiency, security, and adaptability.
alias wcurl="curl -# -O $1"
(I just tested this on MacOS).Personally I never had any problems using curl to download files, nor remembering tar arguments.
Related
Wc2: Investigates optimizing 'wc', the Unix word count program
The GitHub project "wc2" presents an innovative algorithm for the `wc` program, focusing on asynchronous state-machine parsing in C and JavaScript. It enhances efficiency, scalability, and speed compared to traditional `wc` implementations.
What scripting languages come out of the box on Debian 12?
The article discusses pre-installed scripting languages in Debian 12: bash, Python 3, awk, sed, and Perl. Emphasizes convenience for offline work, ease of script transfer, and benefits of learning Python.
Download Accelerator – Async Rust Edition
This post explores creating a download accelerator with async Rust, emphasizing its advantages over traditional methods. It demonstrates improved file uploads to Amazon S3 and provides code for parallel downloads.
Start all of your commands with a comma (2009)
The article discusses creating a ~/bin/ directory in Unix to store custom commands, avoiding name collisions with system commands by prefixing custom commands with a comma. This technique ensures unique, easily accessible commands.
The C Standard charter was updated, now with security principles as well
The ISO/IEC JTC1/SC22/WG14 committee oversees C Standard development, focusing on portability, efficiency, and stability. Collaboration with the C++ committee ensures compatibility. Principles guide feature integration, code efficiency, security, and adaptability.