# Klasör Yedekleme Aracı / Folder Backup Tool ## Türkçe Açıklama Bu araç, klasörler için Windows sağ tık menüsüne "Yedekle ve Sıkıştır" seçeneği ekler. ### Özellikler - Klasörler ve boş alan için "Yedekle ve Sıkıştır" seçeneğini sağ tık menüsüne ekler - Zaman damgalı ve numaralandırılmış yedeklemeleri otomatik olarak oluşturur - WinRAR, 7-Zip veya PowerShell'in yerleşik sıkıştırma özelliğini destekler - Türkçe karakterleri doğru şekilde işler - Aynı gün içinde yapılan çoklu yedeklemeler için otomatik numaralandırma ### Kurulum 1. `Install.bat` dosyasını Yönetici olarak çalıştırın (veya `Install.ps1` dosyasını PowerShell ile) 2. Sağ tık menüsü seçeneği hemen kullanılabilir olacak ### Kullanım 1. Windows Explorer'da herhangi bir klasörün veya boş alanın üzerine sağ tıklayın 2. "Yedekle ve Sıkıştır" seçeneğini seçin 3. Yedekleme, aşağıdaki formatta aynı dizinde oluşturulacak: `__.rar` (veya WinRAR mevcut değilse .zip) ### Kaldırma 1. `Uninstall.bat` dosyasını Yönetici olarak çalıştırın (veya `Uninstall.ps1` dosyasını PowerShell ile) 2. Sağ tık menüsü seçeneği kaldırılacak ### Gereksinimler - Windows 10 veya 11 - PowerShell 5.1 veya sonrası - İsteğe bağlı: Daha iyi sıkıştırma seçenekleri için WinRAR veya 7-Zip ## English Description # Folder Backup Tool This tool adds a "Yedekle ve Sıkıştır" (Backup and Compress) option to the Windows context menu for folders. ## Features - Adds "Yedekle ve Sıkıştır" option to right-click menu for folders and empty space - Automatically creates compressed backups with timestamp and numbering - Supports WinRAR, 7-Zip, or PowerShell's built-in compression - Handles Turkish characters correctly with ANSI encoding - Automatic numbering for multiple backups in the same day - All messages and interface elements are available in both Turkish and English ## Installation 1. Run `Install.bat` as Administrator (or `Install.ps1` with PowerShell) 2. The context menu option will be available immediately ## Usage 1. Right-click on any folder or in empty space in Windows Explorer 2. Select "Yedekle ve Sıkıştır" 3. The backup will be created in the same directory with the format: `__.rar` (or .zip if WinRAR is not available) ## Uninstallation 1. Run `Uninstall.bat` as Administrator (or `Uninstall.ps1` with PowerShell) 2. The context menu option will be removed ## Requirements - Windows 10 or 11 - PowerShell 5.1 or later - Optional: WinRAR or 7-Zip for better compression options ## How It Works The installer adds registry entries that integrate with Windows Explorer context menus. When selected, it runs the PowerShell script that: 1. Determines the next backup number by scanning existing backups 2. Uses WinRAR, 7-Zip, or PowerShell's Compress-Archive (in order of preference) 3. Creates the backup with the proper naming convention 4. Shows success or error messages in Turkish or English ## Recent Improvements - Fixed Turkish character display issues in context menu by using ANSI encoding - Updated all messages and interface elements to support both Turkish and English - Improved file naming consistency with proper variable expansion - Enhanced path handling to compress only selected folder content without full directory paths - Added admin rights checking for installation and uninstallation scripts