- ✅ Calculates total size of folders (recursively)
- ✅ Displays file sizes
- ✅ Automatic unit conversion (Bytes, KB, MB, GB)
- ✅ Sorting by size: Folders first (largest to smallest), then files (largest to smallest)
- ✅ Colored output (folders in yellow, files in green) with emojis (📁 / 📄)
- ✅ Can be used like
lsin any folder - ✅ High-performance stack-based directory traversal to process large trees efficiently
Open PowerShell as administrator and run the following command:
iex (Invoke-RestMethod -Uri 'https://raw.githubusercontent.com/gitmuhammedalbayrak/powershell-lss/main/install.ps1')- Download the
lss.ps1file - Open your PowerShell profile:
notepad $PROFILE - Paste the contents of
lss.ps1into your profile - Save and reload the profile:
. $PROFILE
In any folder:
lssTo view another folder:
lss C:\Users\Documents
lss D:\ProjectsTo include hidden files and folders:
lss -AllDizin: C:\Users\Muhammed
================================================================================
TIP ISIM BOYUT
================================================================================
📁 KLS .cache 4.13 GB
📁 KLS .local 5.66 GB
📁 KLS .ollama 4.36 GB
📁 KLS Apple 69.42 GB
📁 KLS anaconda3 4.47 GB
📄 DSY install.ps1 21.57 KB
📄 DSY oracle-1 3.30 KB
================================================================================
- Windows 10/11
- PowerShell 5.1 or higher
If the script fails to run:
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUserPull requests are welcome! For major changes, please open an issue first.
MIT License - see the LICENSE file for details.
Don't forget to give a star if you find the project useful!
- ✅ Klasörlerin toplam boyutunu hesaplar (rekürsif)
- ✅ Dosya boyutlarını gösterir
- ✅ Otomatik birim dönüşümü (Bytes, KB, MB, GB)
- ✅ Boyuta göre sıralama: Önce klasörler (büyükten küçüğe), sonra dosyalar (büyükten küçüğe)
- ✅ Emojili (📁 / 📄) ve renkli çıktı (klasörler sarı, dosyalar yeşil)
- ✅ Her klasörde
lsgibi kullanılabilir - ✅ Büyük dizin ağaçlarını hızlıca işlemek için yüksek performanslı stack tabanlı dizin tarama yapısı
PowerShell'i yönetici olarak açın ve şu komutu çalıştırın:
iex (Invoke-RestMethod -Uri 'https://raw.githubusercontent.com/gitmuhammedalbayrak/powershell-lss/main/install.ps1')lss.ps1dosyasını indirin- PowerShell profilinizi açın:
notepad $PROFILE lss.ps1dosyasının içeriğini profilinize yapıştırın- Kaydedin ve profili yeniden yükleyin:
. $PROFILE
Herhangi bir klasörde:
lssBaşka bir klasörü görüntülemek için:
lss C:\Users\Documents
lss D:\ProjectsGizli dosya ve klasörleri de dahil etmek için:
lss -AllDizin: C:\Users\Muhammed
================================================================================
TIP ISIM BOYUT
================================================================================
📁 KLS .cache 4.13 GB
📁 KLS .local 5.66 GB
📁 KLS .ollama 4.36 GB
📁 KLS Apple 69.42 GB
📁 KLS anaconda3 4.47 GB
📄 DSY install.ps1 21.57 KB
📄 DSY oracle-1 3.30 KB
================================================================================
- Windows 10/11
- PowerShell 5.1 veya üzeri
Eğer script çalışmazsa:
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUserPull request'ler memnuniyetle karşılanır! Büyük değişiklikler için lütfen önce bir issue açın.
MIT License - Detaylar için LICENSE dosyasına bakın.
Projeyi yararlı bulduysanız yıldız vermeyi unutmayın!