Skip to content

Muxutruk2/lsrs

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lsrs

ls rewritten in Rust. Lists directory contents, just like the original.

Compile from Source

git clone https://github.com/adamm-xyz/lsrs.git
cd lsrs
cargo build

Usage

lsrs [options] [PATH]

Options

Option Description Default
-a, --all do not ignore entries starting with . false
-s, --sizes show sizes of files; use -h for human-readable units false
--help show a help message false
-h print sizes in human-readable units false
-r, --reverse reverse order when sorting (-S, -t) false
-S, --sort-size sort by file size, largest first (specify -r for smallest first) false
-t, --sort-mtime sort by time modified, newest first (specify -r for oldest first) false

Roadmap

  • Add colors
  • Add show hidden entries (-a)
  • Add show size of files in bytes (-s)
  • Add help message (--help)
  • Add human-readable option (-h)
  • Add reverse order when sorting (-r)
  • Add list subdirectories recursively (-R)
  • Add sort by file size, largest first (-S)
  • Add sort by time, newest first (-t)
  • Add fill width with a comma separated list of entries (-m)
  • Add long listing format (-l)

About

ls rewritten in Rust

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 100.0%