mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 20:37:35 +00:00
ls: Add the -S
option to sort files by size
This option will override the `-t` option and vice-versa.
This commit is contained in:
parent
f9520af71e
commit
01ec695ae3
2 changed files with 28 additions and 4 deletions
|
@ -23,7 +23,8 @@ If no *path* argument is provided the current working directory is used.
|
|||
* `-F`, `--classify`: Append a file type indicator to entries
|
||||
* `-d`, `--directory`: List directories themselves, not their contents
|
||||
* `-l`, `--long`: Display long info
|
||||
* `-t`: Sort files by timestamp
|
||||
* `-t`: Sort files by timestamp (newest first)
|
||||
* `-S`: Sort files by size (largest first)
|
||||
* `-r`, `--reverse`: Reverse sort order
|
||||
* `-G`: Use pretty colors
|
||||
* `-i`, `--inode`: Show inode ids
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue