VIP 👤
🏠 Home
Benchmark Hub
📊 All Benchmarks 🦖 Dinosaur v1 🦖 Dinosaur v2 ✅ To-Do List Applications 🎨 Creative Free Pages 🎯 FSACB - Ultimate Showcase 🌍 Translation Benchmark
Models
🏆 Top 10 Models 🆓 Free Models 📋 All Models ⚙️ Kilo Code
Resources
💬 Prompts Library 📖 AI Glossary 🔗 Useful Links 🔌 API & Routers
Intermediate

Automated Backup Bash Script

#bash #linux #scripting #automation

Write a Bash script to compress and backup a directory.

Create a Bash script that takes a source directory path and a destination directory path as arguments. The script should create a timestamped tar.gz archive of the source directory and save it to the destination. Include a check to ensure the destination exists.