1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00

lsd: update page (#13759)

This commit is contained in:
Xartoks 2024-09-21 19:15:16 +02:00 committed by GitHub
parent 2f5cb51df6
commit c5f174f6e5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -12,26 +12,26 @@
`lsd -a`
- List all files and directories with trailing `/` added to directory names:
- List files and directories with trailing `/` added to directory names:
`lsd -F`
- List all files and directories in long format (permissions, ownership, size, and modification date):
- List all files and directories in long format (permissions, ownership, size in human-readable format, and modification date):
`lsd -la`
`lsd -lha`
- List all files and directories in long format with size displayed using human-readable units (KiB, MiB, GiB):
`lsd -lh`
- List all files and directories in long format, sorted by size (descending):
- List files and directories in long format, sorted by size (descending):
`lsd -lS`
- List all files and directories in long format, sorted by modification date (oldest first):
- List files and directories in long format, sorted by modification date (oldest first):
`lsd -ltr`
- Only list directories:
`lsd -d {{*/}}`
- Recursively list all directories in a tree format:
`lsd --tree -d`