VIP 👤
🏠 Hem
Benchmarkar
📊 Alla benchmarkar 🦖 Dinosaur v1 🦖 Dinosaur v2 ✅ To-Do List-applikationer 🎨 Kreativa fria sidor 🎯 FSACB - Ultimata uppvisningen 🌍 Översättningsbenchmark
Modeller
🏆 Topp 10 modeller 🆓 Gratis modeller 📋 Alla modeller ⚙️ Kilo Code
Resurser
💬 Promptbibliotek 📖 AI-ordlista 🔗 Användbara länkar 🔌 AI-API:er och routrar
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.