DIRFOLD
Section: User Commands (1)
Updated: 8 July 1991
Index
Return to Main Contents
NAME
dirfold - an utility to fold directories in a file
SYNOPSIS
dirfold
[-ahlprs]
[-fmatch]
[-kname]
[-mmarks]
[-ddepth]
[-Fnomatch]
[-Mmarks]
[-Rpath]
[path]
...
DESCRIPTION
dirfold
is an utility to produce a fold-representation of the given pathlist.
Every file you have read-permission for is listed as filed-fold.
Directories are handled recursively up to a depth of 255 and their
contents is listed with surrounding folds. If no pathnames are given,
the current directory is folded. The generated output is sent to
standard output.
OPTIONS
- -a
-
Generates filed-fold-entries for all files, even if you have no
read-permission for the file.
- -ddepth
-
Folder enters the directory-tree only up to
depth .
- -fmatch
-
Handle only files and directories, matching the extended regular
expression match. The option has no influence on files or
directories, given by command line.
- -h
-
Folder prints its usage.
- -knamebase
-
You can switch to another >>>RC_ENDING<<<-file to read the markset.
- -l
-
Show permissions and size of files too. Format is:
frwxrwxrwx 'owner' 'filesize' 'time of modification'
f marks the filetype (- normal file, d directory,
b block special file, c character special file, s
symbolic link, p fifo, n network special, s socket and
? unknown).
rwxrwxrwx shows read, write and access permission for owner, group
and others. Missing permission is marked with -.
- -mmarks
-
Folder searches in the >>>RC_ENDING<<<file for a set of foldmarks named markname. If
there is no such markset given, folder will stop. Otherwise the new
markset is used for marking the folds.
- -p
-
Generate comments, if you cannot read a file.
- -r
-
Generate relative pathnames, instead of global pathnames.
- -s
-
Generate only the listing for one directory. All directory entries are
handled as filed folds. This mode is used, if Origami is compiled with
symbol DIREDT.
- -Fnomatch
-
Handle only files and directories, not matching the extended regular
expression nomatch. The option has no influence on files or
directories, given by command line.
- -Mmarks
-
Folder replaces the foldmarks by the characters given with marks.
aaabbbcccddd is evaluated:
aaa for open fold
bbb for filed fold name
ccc for closed fold
ddd for close fold
Specify the path list for the >>>RC_ENDING<<< file.
FILES
$>>>HOME<<</.origami>>>RC_ENDING<<< --- keybindings in Origami format
SEE ALSO
autoalias(1), getopt(3), keybind(1), origami(1), oripager(1), viewrc(1),
Origami User Manual
Index
- NAME
-
- SYNOPSIS
-
- DESCRIPTION
-
- OPTIONS
-
- FILES
-
- SEE ALSO
-
This document was created by
man2html,
using the manual pages.
Time: 07:27:25 GMT, November 24, 2024