AminetAminet
Search:
85268 packages online
About
Recent
Browse
Search
Upload
Setup
Services

util/dir/tree-mos.lha

Mirror:Random
Showing: i386-amithlon icongeneric icon
No screenshot available
Short:Display a tree view of directories
Author: steve.baker.llc at gmail.com (Steve Baker)
Uploader:polluks+aminet sdf org (Stefan Haubenthal)
Type:util/dir
Version:2.3.2
Architecture:m68k-amigaos; ppc-morphos
Date:2026-04-17
URL:http://oldmanprogrammer.net/source.php?dir=projects/tree
Download:util/dir/tree-mos.lha - View contents
Readme:util/dir/tree-mos.readme
Downloads:3335

usage: tree [-acdfghilnpqrstuvxACDFJQNSUX] [-L level [-R]] [-H [-]baseHREF]
	[-T title] [-o filename] [-P pattern] [-I pattern] [--gitignore]
	[--gitfile[=]file] [--matchdirs] [--metafirst] [--ignore-case]
	[--nolinks] [--hintro[=]file] [--houtro[=]file] [--inodes] [--device]
	[--sort[=]name] [--dirsfirst] [--filesfirst] [--filelimit[=]#] [--si]
	[--du] [--prune] [--charset[=]X] [--timefmt[=]format] [--fromfile]
	[--fromtabfile] [--fflinks] [--info] [--infofile[=]file] [--noreport]
	[--hyperlink] [--scheme[=]schema] [--authority[=]host] [--opt-toggle]
	[--compress[=]#] [--condense] [--version] [--help]
	[--] [directory ...]
  ------- Listing options -------
  -a            All files are listed.
  -d            List directories only.
  -l            Follow symbolic links like directories.
  -f            Print the full path prefix for each file.
  -x            Stay on current filesystem only.
  -L level      Descend only level directories deep.
  -R            Rerun tree when max dir level reached.
  -P pattern    List only those files that match the pattern given.
  -I pattern    Do not list files that match the given pattern.
  --gitignore   Filter by using .gitignore files.
  --gitfile X   Explicitly read a gitignore file.
  --ignore-case Ignore case when pattern matching.
  --matchdirs   Include directory names in -P pattern matching.
  --metafirst   Print meta-data at the beginning of each line.
  --prune       Prune empty directories from the output.
  --info        Print information about files found in .info files.
  --infofile X  Explicitly read info file.
  --noreport    Turn off file/directory count at end of tree listing.
  --charset X   Use charset X for terminal/HTML and indentation line output.
  --filelimit # Do not descend dirs with more than # files in them.
  --condense    Condense directory singletons to a single line of output.
  -o filename   Output to file instead of stdout.
  ------- File options -------
  -q            Print non-printable characters as '?'.
  -N            Print non-printable characters as is.
  -Q            Quote filenames with double quotes.
  -p            Print the protections for each file.
  -u            Displays file owner or UID number.
  -g            Displays file group owner or GID number.
  -s            Print the size in bytes of each file.
  -h            Print the size in a more human readable way.
  --si          Like -h, but use in SI units (powers of 1000).
  --du          Compute size of directories by their contents.
  -D            Print the date of last modification or (-c) status change.
  --timefmt fmt Print and format time according to the format fmt.
  -F            Appends '/', '=', '*', '@', '|' or '>' as per ls -F.
  --inodes      Print inode number of each file.
  --device      Print device ID number to which each file belongs.
  ------- Sorting options -------
  -v            Sort files alphanumerically by version.
  -t            Sort files by last modification time.
  -c            Sort files by last status change time.
  -U            Leave files unsorted.
  -r            Reverse the order of the sort.
  --dirsfirst   List directories before files (-U disables).
  --filesfirst  List files before directories (-U disables).
  --sort X      Select sort: name,version,size,mtime,ctime,none.
  ------- Graphics options -------
  -i            Don't print indentation lines.
  -A            Print ANSI lines graphic indentation lines.
  -S            Print with CP437 (console) graphics indentation lines.
  -n            Turn colorization off always (-C overrides).
  -C            Turn colorization on always.
  --compress #  Compress indentation lines.
  ------- XML/HTML/JSON/HYPERLINK options -------
  -X            Prints out an XML representation of the tree.
  -J            Prints out an JSON representation of the tree.
  -H baseHREF   Prints out HTML format with baseHREF as top directory.
  -T string     Replace the default HTML title and H1 header with string.
  --nolinks     Turn off hyperlinks in HTML output.
  --hintro X    Use file X as the HTML intro.
  --houtro X    Use file X as the HTML outro.
  --hyperlink   Turn on OSC 8 terminal hyperlinks.
  --scheme X    Set OSC 8 hyperlink scheme, default file://
  --authority X Set OSC 8 hyperlink authority/hostname.
  ------- Input options -------
  --fromfile    Reads paths from files (.=stdin)
  --fromtabfile Reads trees from tab indented files (.=stdin)
  --fflinks     Process link information when using --fromfile.
  ------- Miscellaneous options -------
  --opt-toggle  Enable option toggling.
  --version     Print version and exit.
  --help        Print usage and this help message and exit.
  --            Options processing terminator.
usage: tree [-acdfghilnpqrstuvxACDFJQNSUX] [-L level [-R]] [-H [-]baseHREF]
	[-T title] [-o filename] [-P pattern] [-I pattern] [--gitignore]
	[--gitfile[=]file] [--matchdirs] [--metafirst] [--ignore-case]
	[--nolinks] [--hintro[=]file] [--houtro[=]file] [--inodes] [--device]
	[--sort[=]name] [--dirsfirst] [--filesfirst] [--filelimit[=]#] [--si]
	[--du] [--prune] [--charset[=]X] [--timefmt[=]format] [--fromfile]
	[--fromtabfile] [--fflinks] [--info] [--infofile[=]file] [--noreport]
	[--hyperlink] [--scheme[=]schema] [--authority[=]host] [--opt-toggle]
	[--compress[=]#] [--condense] [--version] [--help]
	[--] [directory ...]
  ------- Listing options -------
  -a            All files are listed.
  -d            List directories only.
  -l            Follow symbolic links like directories.
  -f            Print the full path prefix for each file.
  -x            Stay on current filesystem only.
  -L level      Descend only level directories deep.
  -R            Rerun tree when max dir level reached.
  -P pattern    List only those files that match the pattern given.
  -I pattern    Do not list files that match the given pattern.
  --gitignore   Filter by using .gitignore files.
  --gitfile X   Explicitly read a gitignore file.
  --ignore-case Ignore case when pattern matching.
  --matchdirs   Include directory names in -P pattern matching.
  --metafirst   Print meta-data at the beginning of each line.
  --prune       Prune empty directories from the output.
  --info        Print information about files found in .info files.
  --infofile X  Explicitly read info file.
  --noreport    Turn off file/directory count at end of tree listing.
  --charset X   Use charset X for terminal/HTML and indentation line output.
  --filelimit # Do not descend dirs with more than # files in them.
  --condense    Condense directory singletons to a single line of output.
  -o filename   Output to file instead of stdout.
  ------- File options -------
  -q            Print non-printable characters as '?'.
  -N            Print non-printable characters as is.
  -Q            Quote filenames with double quotes.
  -p            Print the protections for each file.
  -u            Displays file owner or UID number.
  -g            Displays file group owner or GID number.
  -s            Print the size in bytes of each file.
  -h            Print the size in a more human readable way.
  --si          Like -h, but use in SI units (powers of 1000).
  --du          Compute size of directories by their contents.
  -D            Print the date of last modification or (-c) status change.
  --timefmt fmt Print and format time according to the format fmt.
  -F            Appends '/', '=', '*', '@', '|' or '>' as per ls -F.
  --inodes      Print inode number of each file.
  --device      Print device ID number to which each file belongs.
  ------- Sorting options -------
  -v            Sort files alphanumerically by version.
  -t            Sort files by last modification time.
  -c            Sort files by last status change time.
  -U            Leave files unsorted.
  -r            Reverse the order of the sort.
  --dirsfirst   List directories before files (-U disables).
  --filesfirst  List files before directories (-U disables).
  --sort X      Select sort: name,version,size,mtime,ctime,none.
  ------- Graphics options -------
  -i            Don't print indentation lines.
  -A            Print ANSI lines graphic indentation lines.
  -S            Print with CP437 (console) graphics indentation lines.
  -n            Turn colorization off always (-C overrides).
  -C            Turn colorization on always.
  --compress #  Compress indentation lines.
  ------- XML/HTML/JSON/HYPERLINK options -------
  -X            Prints out an XML representation of the tree.
  -J            Prints out an JSON representation of the tree.
  -H baseHREF   Prints out HTML format with baseHREF as top directory.
  -T string     Replace the default HTML title and H1 header with string.
  --nolinks     Turn off hyperlinks in HTML output.
  --hintro X    Use file X as the HTML intro.
  --houtro X    Use file X as the HTML outro.
  --hyperlink   Turn on OSC 8 terminal hyperlinks.
  --scheme X    Set OSC 8 hyperlink scheme, default file://
  --authority X Set OSC 8 hyperlink authority/hostname.
  ------- Input options -------
  --fromfile    Reads paths from files (.=stdin)
  --fromtabfile Reads trees from tab indented files (.=stdin)
  --fflinks     Process link information when using --fromfile.
  ------- Miscellaneous options -------
  --opt-toggle  Enable option toggling.
  --version     Print version and exit.
  --help        Print usage and this help message and exit.
  --            Options processing terminator.


Contents of util/dir/tree-mos.lha
 PERMSSN    UID  GID    PACKED    SIZE  RATIO METHOD CRC     STAMP          NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
[generic]                   65      65 100.0% -lh0- ca1b Mar 16 23:59 tree-2.3.2/.gitignore
[generic]                13326   31439  42.4% -lh5- cda1 Mar 17 00:38 tree-2.3.2/CHANGES
[generic]                 5689   18376  31.0% -lh5- c910 Feb  6 00:44 tree-2.3.2/color.c
[generic]                 1321    2977  44.4% -lh5- 0726 Feb  6 00:44 tree-2.3.2/doc/global_info
[generic]                 6976   18317  38.1% -lh5- e64e Mar 17 00:38 tree-2.3.2/doc/tree.1
[generic]                  316    2811  11.2% -lh5- aba0 Feb  6 00:44 tree-2.3.2/doc/xml.dtd
[generic]                 3074    9378  32.8% -lh5- fbf7 Feb  6 00:44 tree-2.3.2/file.c
[generic]                 2223    6230  35.7% -lh5- f2ec Mar 15 21:04 tree-2.3.2/filter.c
[generic]                 1545    4077  37.9% -lh5- 9918 Feb  6 00:44 tree-2.3.2/hash.c
[generic]                 2494    6674  37.4% -lh5- f2ac Mar 15 17:53 tree-2.3.2/html.c
[generic]                 1952    5246  37.2% -lh5- e140 Feb  6 00:44 tree-2.3.2/info.c
[generic]                  350     601  58.2% -lh5- 419f Feb  6 00:44 tree-2.3.2/INSTALL
[generic]                 2184    6110  35.7% -lh5- 3bd4 Feb  6 00:44 tree-2.3.2/json.c
[generic]                 7015   18009  39.0% -lh5- e98e Feb  6 00:44 tree-2.3.2/LICENSE
[generic]                 2870    8133  35.3% -lh5- 3bba Mar 15 17:58 tree-2.3.2/list.c
[generic]                 1568    3343  46.9% -lh5- dfae Mar 17 00:37 tree-2.3.2/Makefile
[generic]                 5212   11685  44.6% -lh5- 9fa4 Mar 17 00:35 tree-2.3.2/README
[generic]                 2183    5377  40.6% -lh5- e1c0 Feb  6 00:44 tree-2.3.2/strverscmp.c
[generic]                  578    1020  56.7% -lh5- 47a1 Feb  6 00:44 tree-2.3.2/TODO
[generic]                14221   46878  30.3% -lh5- 8127 Mar 17 00:37 tree-2.3.2/tree.c
[generic]                 3088    9641  32.0% -lh5- 1e94 Mar  6 01:20 tree-2.3.2/tree.h
[generic]                 1580    4174  37.9% -lh5- 46be Feb  6 00:44 tree-2.3.2/unix.c
[generic]                 1308    2803  46.7% -lh5- f047 Feb  6 00:44 tree-2.3.2/util.c
[generic]                 1854    5149  36.0% -lh5- 84ba Feb  6 00:44 tree-2.3.2/xml.c
[generic]                46504  140292  33.1% -lh5- 5105 Apr 15 00:54 tree-2.3.2/tree
[generic]                44808   87172  51.4% -lh5- 2d7b Apr 17 16:38 tree-2.3.2/tree.68k
---------- ----------- ------- ------- ------ ---------- ------------ -------------
 Total        26 files  174304  455977  38.2%            Apr 17 18:54
Page generated in 0.05 seconds
Aminet © 1992-2024 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>