![]() ![]() └╴UCC_Menu.Facing the question when you will check your Mac's performance on the Mac disk space analyzer, most of you possibly reply you checked it on the first day you had your own Mac. │ └╴interface-navigation.scxml-test -rwxr-xr-x 83B Nov 17 15:38 │ └╴thin_glass_refractive.material -rwxr-xr-x 6.0K Nov 19 17:19 │ ├╴HDRBloomTonemap.effect -rwxr-xr-x 11K Nov 17 15:38 │ ├╴Depth Of Field HQ Blur.effect -rwxr-xr-x 2.4K Nov 19 17:19 Sample output (looks nicer in the OS X terminal than the font on Stack Overflow): phrogz$ tree UCC_IVI/ With a little more work you could pass arbitrary ls arguments to select the metadata to show. ![]() You could modify the meta = … line to extract different metadata to display, hand-picking out the split pieces on the next line. Puts tree(ARGV.first || ".") if _FILE_=$0 Here is a Ruby script solution that produces a nice Unicode tree along with useful metadata. Reload the shell, and now which tree should point to /usr/local/bin/tree. ![]() Now edit ~/.bash_profile to include: export PATH="/usr/local/bin:$PATH" ![]() For example: sudo mkdir -p /usr/local/bin Now you have to move the tree binary file to a location that's in your executable path. Commenting out the Linux options and uncommenting the macOS options should be enough. Install the Xcode command line tools by running xcode-select -install.Ĭhange the Makefile to get it to work, which is also explained in answer below. Do not install more than one package manager at the same time!įollow the prompt for whichever you installed.įor Fink: fink install tree Installing from source approach If you do not have Homebrew installed, try one approach below.įollow the instructions on these websites to install Homebrew, MacPorts, or Fink. You can get the tree command on macOS, too. ![]()
0 Comments
Leave a Reply. |