UNPKG

dir_tree

Version:

Creates a Searchable, Sortable & Printable Tree For Stated Directory Path.

46 lines (36 loc) 1.29 kB
--------------- -max-depth --------------- use: --- used to specify how deep the dir tree has to be. usage: ----- dtree dir_path -max-depth int_gt_zero [command] dtree dir_path -md int_gt_zero [command] int_gt_zero i.e., an integer greater than zero. list of commands: ---------------- short-form -dirs -d -no-of-dirs -nod -total-dirs -td -no-of-total-dirs -notd -files -f -no-of-files -nof -total-files -tf -no-of-total-files -notf -dirs-creation-order -dco -fileless-tree -ft -size -sz -size-of-files -sof -unread-paths -up -no-of-unread-paths -noup -total-unread-paths -tup -no-of-total-unread-paths -notup -find-dirs -fd -find-files -ff -stats -st -dirs-having-files -dhf to get helpful information about a command, execute: dtree -h command