GNO-Extras/bobbi
2020-02-14 20:26:16 -05:00
..
Makefile#000000 Added simple nl (number lines) utility 2020-02-09 19:48:30 -05:00
nl.c#b00008 Added simple nl (number lines) utility 2020-02-09 19:48:30 -05:00
README.md Fix formatting 2020-02-06 21:08:13 -05:00
sortdir.c#b00008 More freelist checking 2020-02-14 20:26:16 -05:00

** THIS IS ALPHA-QUALITY CODE **
** USE AT YOUR OWN RISK!      **

usage: sortdir [-s xxx] [-rwv] path

  Options: -s xxx  Directory sort options
           -w      Enable writing to disk
           -v      Verbose output
           -h      This help

Directory sort options xxx, is a list of fields on which to
sort. The sort options are processed left-to-right.
  n  sort by filename ascending
  N  sort by filename descending
  t  sort by type ascending
  T  sort by type descending
  d  sort directories to top
  D  sort directories to bottom

e.g.: sortdir -w -s nd .
Will sort the current directory first by name (ascending),
then sort directories to the top, and will write the sorted
directory to disk.