/myls

Implementation of command ls.

Primary LanguageCMake

myls

Implementation of unix ls command.
List files and directories in specified order.

Usage

myls [path|mask] [-l] [-h|--help] [--sort=U|S|t|X|D|s] [-r]

-l -- print detailed information about each file / directory.
-h|--help -- help screen.
--sort -- sorting option.

  • U -- unsorted.
  • S -- by size.
  • t -- by time of last modification.
  • N -- by name (default option).
  • D -- directories first.
  • s -- specific files separately.

-r -- reversed order of sorted option.
-F -- specify type of special files.
-R -- bypass directories recursively.