Sorting and Organizing Sorting and organizing in lla
lla provides thoughtful sorting and organization capabilities that help you view your files exactly how you need them. From basic alphabetical sorting to advanced directory traversal, these features work together to create a clear, organized view of your filesystem.
Navigate your files with three intuitive sorting methods:
lla -s name # Alphabetical by filename (default)
lla -s size # Size-based, largest first
lla -s date # Time-based, newest first
Fine-tune your sort preferences:
lla -r # Reverse the order
lla --sort-dirs-first # Prioritize directories
lla --sort-case-sensitive # Enable case sensitivity
lla --sort-natural # Smart number sorting (2.txt before 10.txt)
Control how deeply lla explores your directory structure:
lla -R # Show all subdirectories
lla -R -d 2 # Limit exploration depth
lla --include-dirs # Show directory sizes
lla intelligently handles large directories with built-in limits:
# Adjust in ~/.config/lla/config.toml
[ formatters . tree ]
max_lines = 20000 # Tree view entries
[ listers . recursive ]
max_entries = 20000 # Recursive listing entries
Customize your viewing experience:
lla --icons # Show file icons
lla --no-icons # Hide icons
lla --no-colors # Disable colors
# Combine preferences
lla --icons -s size # Size-sorted with icons
lla -l --permission-format=symbolic # Standard rwx format (default)
lla -l --permission-format=octal # Numeric format (e.g., 644)
lla -l --permission-format=binary # Binary representation
lla -l --permission-format=verbose # Detailed text description
lla -l --permission-format=compact # Condensed numeric notation