💾 Archived View for cugi.ie › aminet › 1697944671.gmi captured on 2023-11-04 at 11:49:44. Gemini links have been rewritten to link to archived content

View Raw

More Information

-=-=-=-=-=-=-

Display a tree view of directories

   Author:       ice at mama.indstate.edu (Steve Baker), port by uploader
   Uploader:     polluks+aminet sdf lonestar org (Stefan Haubenthal)
   Type:         util/dir
   Version:      2.1.1
   Architecture: ppc-morphos; m68k-amigaos
   URL:          http://mama.indstate.edu/users/ice/tree/
   Date:         2023-10-21
   Readme:       http://aminet.net/util/dir/tree-mos.readme
   Downloads:    734

http://aminet.net/util/dir/tree-mos.lha

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]

[--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 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.

-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 <f> Print and format time according to the format <f>.

-F Appends '/', '=', '*', ' at ', '|' 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.

------- 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.

------- XML/HTML/JSON 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.

------- 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 -------

--version Print version and exit.

--help Print usage and this help message and exit.

-- Options processing terminator.

Contents of util/dir/tree-mos.lha

PERMISSION  UID  GID    PACKED    SIZE  RATIO METHOD CRC     STAMP     NAME
---------- ----------- ------- ------- ------ ---------- ------------ ----------
[generic]                 9740   22652  43.0% -lh5- 1b4c May 31 04:39 tree-2.1.1/CHANGES
[generic]                 5204   16158  32.2% -lh5- c42f May 31 04:39 tree-2.1.1/color.c
[generic]                 1321    2977  44.4% -lh5- 0726 May 31 04:39 tree-2.1.1/doc/global_info
[generic]                 5933   15526  38.2% -lh5- ccdf May 31 04:39 tree-2.1.1/doc/tree.1
[generic]                  316    2811  11.2% -lh5- aba0 May 31 04:39 tree-2.1.1/doc/xml.dtd
[generic]                 2797    8138  34.4% -lh5- 1714 May 31 04:39 tree-2.1.1/file.c
[generic]                 1592    4353  36.6% -lh5- 6db6 May 31 04:39 tree-2.1.1/filter.c
[generic]                 1228    3118  39.4% -lh5- 5410 May 31 04:39 tree-2.1.1/hash.c
[generic]                 2443    6669  36.6% -lh5- 6b96 May 31 04:39 tree-2.1.1/html.c
[generic]                 1941    5209  37.3% -lh5- 2f57 May 31 04:39 tree-2.1.1/info.c
[generic]                  345     597  57.8% -lh5- 0b50 May 31 04:39 tree-2.1.1/INSTALL
[generic]                 2152    5927  36.3% -lh5- 6a43 May 31 04:39 tree-2.1.1/json.c
[generic]                 7015   18009  39.0% -lh5- e98e May 31 04:39 tree-2.1.1/LICENSE
[generic]                 2720    7606  35.8% -lh5- c09e May 31 04:39 tree-2.1.1/list.c
[generic]                 1357    2936  46.2% -lh5- 44b4 May 31 04:39 tree-2.1.1/Makefile
[generic]                 4396    9597  45.8% -lh5- 4ad4 May 31 04:39 tree-2.1.1/README
[generic]                 2167    5346  40.5% -lh5- 4873 May 31 04:39 tree-2.1.1/strverscmp.c
[generic]                  491     853  57.6% -lh5- aae9 May 31 04:39 tree-2.1.1/TODO
[generic]                12472   39741  31.4% -lh5- 1be2 May 31 04:39 tree-2.1.1/tree.c
[generic]                 2794    8821  31.7% -lh5- 54aa May 31 04:39 tree-2.1.1/tree.h
[generic]                  315     468  67.3% -lh5- d3a0 May 31 04:39 tree-2.1.1/tree.lsm
[generic]                 1305    3166  41.2% -lh5- 67a9 May 31 04:39 tree-2.1.1/unix.c
[generic]                 1857    5039  36.9% -lh5- 9a58 May 31 04:39 tree-2.1.1/xml.c
[generic]                45287  106720  42.4% -lh5- 4614 Oct 20 01:03 tree-2.1.1/tree
[generic]                40917   80452  50.9% -lh5- 9598 Oct 21 03:37 tree-2.1.1/tree.68k
---------- ----------- ------- ------- ------ ---------- ------------ ----------
 Total        25 files  158105  382889  41.3%            Oct 22 03:17

Aminet © 1992-2023 Urban Müller and the Aminet team. Aminet contact address: <aminet aminet net>