![]() tree is available for via pacman (Package Manager) but that is only available if you install "Git for Windows SDK" (scroll to the bottom of / which provides a link to download installer for it from ) Git for Windows ( ) (has Git Bash) but it does not include tree. A Use ASCII instead of extended characters. F Display the names of the files in each folder. Graphically displays the folder structure of a drive or path. filelimit # Do not descend dirs with more than # files in them. charset X Use charset X for HTML and indentation line output. dirsfirst List directories before files. nolinks Turn off hyperlinks in HTML output. noreport Turn off file/directory count at end of tree listing. device Print device ID number to which each file belongs. o file Output to file instead of stdout. R Rerun tree when max dir level reached. T string Replace the default HTML title and H1 header with string. H baseHREF Prints out HTML format with baseHREF as top directory. I pattern Do not list files that match the given pattern. P pattern List only those files that match the pattern given. n Turn colorization off always (-C overrides). S Print with ASCII graphics indentation lines. A Print ANSI lines graphic indentation lines. L level Descend only level directories deep. r Sort files in reverse alphanumeric order. v Sort files alphanumerically by version. h Print the size in a more human readable way. g Displays file group owner or GID number. q Print non-printable characters as '?'. f Print the full path prefix for each file. l Follow symbolic links like directories. tree -L 2 would limit the recursion depth to 2. The advantage of the GnuWin version is that it has lots of options - e.g. lstree.exe, otherwise the Windows tree command will take precedence. If you want to use it at a Windows console also you'd need to rename or copy tree.exe to something else, e.g. The GnuWin32 build of tree is at - you'd need to add it to your path manually if you're not already using GnuWin32. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |