Download and decompress ZIP, tar.gz, and gzip files with cURL
Download and decompress ZIP, tar.gz, and gzip files with cURL and Bash, detect failed transfers, and keep existing output files intact.
Kevin van Zonneveld
Empower your development workflow with our curated collection of quick tips and practical tutorials. From file handling and image processing to API integration and open source tools, our dev tips cover a wide range of topics to enhance your coding skills and boost productivity. Whether you’re a beginner or an experienced developer, dive in to find efficient solutions for your projects.
Download and decompress ZIP, tar.gz, and gzip files with cURL and Bash, detect failed transfers, and keep existing output files intact.

Use Go and FFmpeg’s qt-faststart approach to remux MP4/MOV files without re-encoding, preserve audio tracks, and refuse existing outputs.

Upload files to private Supabase Storage with cURL, sign in through Auth, verify downloaded bytes, and check that another user cannot read them.

Publish responsive image variants with Sharp and serve them from a static CDN, with private S3 origins, versioned URLs, and reliable fallbacks.

Create a downloadable ZIP in the browser with JSZip, a file picker, and drag-and-drop. Handle duplicate names, progress, and repeated clicks.
