💾 Archived View for cugi.ie › aminet › 1723158852.gmi captured on 2024-08-25 at 00:59:48. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2024-08-18)

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

Display a tree view of directories

   Author:       steve.baker.llc at gmail.com (Steve Baker), port by uploader
   Uploader:     polluks+aminet sdf org (Stefan Haubenthal)
   Type:         util/dir
   Version:      2.1.3
   Architecture: ppc-morphos
   URL:          http://oldmanprogrammer.net/source.php?dir=projects/tree
   Date:         2024-08-08
   Readme:       http://aminet.net/util/dir/tree-mos.readme
   Downloads:    1012

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]                10366   24249  42.7% -lh5- 4593 Jul  9 23:41 unix-tree-master/CHANGES
[generic]                 5203   16162  32.2% -lh5- 68d0 Jul  9 23:41 unix-tree-master/color.c
[generic]                 1321    2977  44.4% -lh5- 0726 Jul  9 23:41 unix-tree-master/doc/global_info
[generic]                 5934   15530  38.2% -lh5- f4c5 Jul  9 23:41 unix-tree-master/doc/tree.1
[generic]                  316    2811  11.2% -lh5- aba0 Jul  9 23:41 unix-tree-master/doc/xml.dtd
[generic]                 2843    8223  34.6% -lh5- 6079 Jul  9 23:41 unix-tree-master/file.c
[generic]                 1623    4423  36.7% -lh5- f2f6 Jul  9 23:41 unix-tree-master/filter.c
[generic]                 1228    3122  39.3% -lh5- 0783 Jul  9 23:41 unix-tree-master/hash.c
[generic]                 2468    6831  36.1% -lh5- 1e5a Jul  9 23:41 unix-tree-master/html.c
[generic]                 1941    5213  37.2% -lh5- bb7e Jul  9 23:41 unix-tree-master/info.c
[generic]                  350     601  58.2% -lh5- 419f Jul  9 23:41 unix-tree-master/INSTALL
[generic]                 2151    5931  36.3% -lh5- ebb0 Jul  9 23:41 unix-tree-master/json.c
[generic]                 7015   18009  39.0% -lh5- e98e Jul  9 23:41 unix-tree-master/LICENSE
[generic]                 2786    7758  35.9% -lh5- ba17 Jul  9 23:41 unix-tree-master/list.c
[generic]                 1374    2964  46.4% -lh5- 434a Jul  9 23:41 unix-tree-master/Makefile
[generic]                 4712   10331  45.6% -lh5- 45dc Jul  9 23:41 unix-tree-master/README
[generic]                 2167    5346  40.5% -lh5- 4873 Jul  9 23:41 unix-tree-master/strverscmp.c
[generic]                  491     853  57.6% -lh5- aae9 Jul  9 23:41 unix-tree-master/TODO
[generic]                12569   40044  31.4% -lh5- 1f79 Jul  9 23:41 unix-tree-master/tree.c
[generic]                 2795    8825  31.7% -lh5- cbeb Jul  9 23:41 unix-tree-master/tree.h
[generic]                  343     503  68.2% -lh5- 1f25 Jul  9 23:41 unix-tree-master/tree.lsm
[generic]                 1308    3170  41.3% -lh5- d9b4 Jul  9 23:41 unix-tree-master/unix.c
[generic]                 1857    5043  36.8% -lh5- 3856 Jul  9 23:41 unix-tree-master/xml.c
[generic]                41441  102404  40.5% -lh5- 0f2e Aug  9 00:28 unix-tree-master/tree
---------- ----------- ------- ------- ------ ---------- ------------ ----------
 Total        24 files  114602  301323  38.0%            Aug  8 23:14

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