256 lines
9.6 KiB
HTML
256 lines
9.6 KiB
HTML
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
<HTML><HEAD><TITLE>Man page of VDIR</TITLE>
|
|
</HEAD><BODY>
|
|
<H1>VDIR</H1>
|
|
Section: User Commands (1)<BR>Updated: September 2019<BR><A HREF="#index">Index</A>
|
|
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
|
|
|
|
<A NAME="lbAB"> </A>
|
|
<H2>NAME</H2>
|
|
|
|
vdir - list directory contents
|
|
<A NAME="lbAC"> </A>
|
|
<H2>SYNOPSIS</H2>
|
|
|
|
<B>vdir</B>
|
|
|
|
[<I>,OPTION/</I>]... [<I>,FILE/</I>]...
|
|
<A NAME="lbAD"> </A>
|
|
<H2>DESCRIPTION</H2>
|
|
|
|
|
|
<P>
|
|
|
|
List information about the FILEs (the current directory by default).
|
|
Sort entries alphabetically if none of <B>-cftuvSUX</B> nor <B>--sort</B> is specified.
|
|
<P>
|
|
|
|
Mandatory arguments to long options are mandatory for short options too.
|
|
<DL COMPACT>
|
|
<DT id="1"><B>-a</B>, <B>--all</B><DD>
|
|
do not ignore entries starting with .
|
|
<DT id="2"><B>-A</B>, <B>--almost-all</B><DD>
|
|
do not list implied . and ..
|
|
<DT id="3"><B>--author</B><DD>
|
|
with <B>-l</B>, print the author of each file
|
|
<DT id="4"><B>-b</B>, <B>--escape</B><DD>
|
|
print C-style escapes for nongraphic characters
|
|
<DT id="5"><B>--block-size</B>=<I>,SIZE/</I><DD>
|
|
with <B>-l</B>, scale sizes by SIZE when printing them;
|
|
e.g., '--block-size=M'; see SIZE format below
|
|
<DT id="6"><B>-B</B>, <B>--ignore-backups</B><DD>
|
|
do not list implied entries ending with ~
|
|
<DT id="7"><B>-c</B><DD>
|
|
with <B>-lt</B>: sort by, and show, ctime (time of last
|
|
modification of file status information);
|
|
with <B>-l</B>: show ctime and sort by name;
|
|
otherwise: sort by ctime, newest first
|
|
<DT id="8"><B>-C</B><DD>
|
|
list entries by columns
|
|
<DT id="9"><B>--color</B>[=<I>,WHEN/</I>]<DD>
|
|
colorize the output; WHEN can be 'always' (default
|
|
if omitted), 'auto', or 'never'; more info below
|
|
<DT id="10"><B>-d</B>, <B>--directory</B><DD>
|
|
list directories themselves, not their contents
|
|
<DT id="11"><B>-D</B>, <B>--dired</B><DD>
|
|
generate output designed for Emacs' dired mode
|
|
<DT id="12"><B>-f</B><DD>
|
|
do not sort, enable <B>-aU</B>, disable <B>-ls</B> <B>--color</B>
|
|
<DT id="13"><B>-F</B>, <B>--classify</B><DD>
|
|
append indicator (one of */=>@|) to entries
|
|
<DT id="14"><B>--file-type</B><DD>
|
|
likewise, except do not append '*'
|
|
<DT id="15"><B>--format</B>=<I>,WORD/</I><DD>
|
|
across <B>-x</B>, commas <B>-m</B>, horizontal <B>-x</B>, long <B>-l</B>,
|
|
single-column <B>-1</B>, verbose <B>-l</B>, vertical <B>-C</B>
|
|
<DT id="16"><B>--full-time</B><DD>
|
|
like <B>-l</B> <B>--time-style</B>=<I>,full-iso/</I>
|
|
<DT id="17"><B>-g</B><DD>
|
|
like <B>-l</B>, but do not list owner
|
|
<DT id="18"><B>--group-directories-first</B><DD>
|
|
group directories before files;
|
|
<DT id="19"><DD>
|
|
can be augmented with a <B>--sort</B> option, but any
|
|
use of <B>--sort</B>=<I>,none/</I> (<B>-U</B>) disables grouping
|
|
<DT id="20"><B>-G</B>, <B>--no-group</B><DD>
|
|
in a long listing, don't print group names
|
|
<DT id="21"><B>-h</B>, <B>--human-readable</B><DD>
|
|
with <B>-l</B> and <B>-s</B>, print sizes like 1K 234M 2G etc.
|
|
<DT id="22"><B>--si</B><DD>
|
|
likewise, but use powers of 1000 not 1024
|
|
<DT id="23"><B>-H</B>, <B>--dereference-command-line</B><DD>
|
|
follow symbolic links listed on the command line
|
|
<DT id="24"><B>--dereference-command-line-symlink-to-dir</B><DD>
|
|
follow each command line symbolic link
|
|
<DT id="25"><DD>
|
|
that points to a directory
|
|
<DT id="26"><B>--hide</B>=<I>,PATTERN/</I><DD>
|
|
do not list implied entries matching shell PATTERN
|
|
(overridden by <B>-a</B> or <B>-A</B>)
|
|
<DT id="27"><B>--hyperlink</B>[=<I>,WHEN/</I>]<DD>
|
|
hyperlink file names; WHEN can be 'always'
|
|
(default if omitted), 'auto', or 'never'
|
|
<DT id="28"><B>--indicator-style</B>=<I>,WORD/</I><DD>
|
|
append indicator with style WORD to entry names:
|
|
none (default), slash (<B>-p</B>),
|
|
file-type (<B>--file-type</B>), classify (<B>-F</B>)
|
|
<DT id="29"><B>-i</B>, <B>--inode</B><DD>
|
|
print the index number of each file
|
|
<DT id="30"><B>-I</B>, <B>--ignore</B>=<I>,PATTERN/</I><DD>
|
|
do not list implied entries matching shell PATTERN
|
|
<DT id="31"><B>-k</B>, <B>--kibibytes</B><DD>
|
|
default to 1024-byte blocks for disk usage;
|
|
used only with <B>-s</B> and per directory totals
|
|
<DT id="32"><B>-l</B><DD>
|
|
use a long listing format
|
|
<DT id="33"><B>-L</B>, <B>--dereference</B><DD>
|
|
when showing file information for a symbolic
|
|
link, show information for the file the link
|
|
references rather than for the link itself
|
|
<DT id="34"><B>-m</B><DD>
|
|
fill width with a comma separated list of entries
|
|
<DT id="35"><B>-n</B>, <B>--numeric-uid-gid</B><DD>
|
|
like <B>-l</B>, but list numeric user and group IDs
|
|
<DT id="36"><B>-N</B>, <B>--literal</B><DD>
|
|
print entry names without quoting
|
|
<DT id="37"><B>-o</B><DD>
|
|
like <B>-l</B>, but do not list group information
|
|
<DT id="38"><B>-p</B>, <B>--indicator-style</B>=<I>,slash/</I><DD>
|
|
append / indicator to directories
|
|
<DT id="39"><B>-q</B>, <B>--hide-control-chars</B><DD>
|
|
print ? instead of nongraphic characters
|
|
<DT id="40"><B>--show-control-chars</B><DD>
|
|
show nongraphic characters as-is (the default,
|
|
unless program is 'ls' and output is a terminal)
|
|
<DT id="41"><B>-Q</B>, <B>--quote-name</B><DD>
|
|
enclose entry names in double quotes
|
|
<DT id="42"><B>--quoting-style</B>=<I>,WORD/</I><DD>
|
|
use quoting style WORD for entry names:
|
|
literal, locale, shell, shell-always,
|
|
shell-escape, shell-escape-always, c, escape
|
|
(overrides QUOTING_STYLE environment variable)
|
|
<DT id="43"><B>-r</B>, <B>--reverse</B><DD>
|
|
reverse order while sorting
|
|
<DT id="44"><B>-R</B>, <B>--recursive</B><DD>
|
|
list subdirectories recursively
|
|
<DT id="45"><B>-s</B>, <B>--size</B><DD>
|
|
print the allocated size of each file, in blocks
|
|
<DT id="46"><B>-S</B><DD>
|
|
sort by file size, largest first
|
|
<DT id="47"><B>--sort</B>=<I>,WORD/</I><DD>
|
|
sort by WORD instead of name: none (<B>-U</B>), size (<B>-S</B>),
|
|
time (<B>-t</B>), version (<B>-v</B>), extension (<B>-X</B>)
|
|
<DT id="48"><B>--time</B>=<I>,WORD/</I><DD>
|
|
with <B>-l</B>, show time as WORD instead of default
|
|
modification time: atime or access or use (<B>-u</B>);
|
|
ctime or status (<B>-c</B>); also use specified time
|
|
as sort key if <B>--sort</B>=<I>,time/</I> (newest first)
|
|
<DT id="49"><B>--time-style</B>=<I>,TIME_STYLE/</I><DD>
|
|
time/date format with <B>-l</B>; see TIME_STYLE below
|
|
<DT id="50"><B>-t</B><DD>
|
|
sort by modification time, newest first
|
|
<DT id="51"><B>-T</B>, <B>--tabsize</B>=<I>,COLS/</I><DD>
|
|
assume tab stops at each COLS instead of 8
|
|
<DT id="52"><B>-u</B><DD>
|
|
with <B>-lt</B>: sort by, and show, access time;
|
|
with <B>-l</B>: show access time and sort by name;
|
|
otherwise: sort by access time, newest first
|
|
<DT id="53"><B>-U</B><DD>
|
|
do not sort; list entries in directory order
|
|
<DT id="54"><B>-v</B><DD>
|
|
natural sort of (version) numbers within text
|
|
<DT id="55"><B>-w</B>, <B>--width</B>=<I>,COLS/</I><DD>
|
|
set output width to COLS. 0 means no limit
|
|
<DT id="56"><B>-x</B><DD>
|
|
list entries by lines instead of by columns
|
|
<DT id="57"><B>-X</B><DD>
|
|
sort alphabetically by entry extension
|
|
<DT id="58"><B>-Z</B>, <B>--context</B><DD>
|
|
print any security context of each file
|
|
<DT id="59"><B>-1</B><DD>
|
|
list one file per line. Avoid '\n' with <B>-q</B> or <B>-b</B>
|
|
<DT id="60"><B>--help</B><DD>
|
|
display this help and exit
|
|
<DT id="61"><B>--version</B><DD>
|
|
output version information and exit
|
|
</DL>
|
|
<P>
|
|
|
|
The SIZE argument is an integer and optional unit (example: 10K is 10*1024).
|
|
Units are K,M,G,T,P,E,Z,Y (powers of 1024) or KB,MB,... (powers of 1000).
|
|
<P>
|
|
|
|
The TIME_STYLE argument can be full-iso, long-iso, iso, locale, or +FORMAT.
|
|
FORMAT is interpreted like in <A HREF="/cgi-bin/man/man2html?1+date">date</A>(1). If FORMAT is FORMAT1<newline>FORMAT2,
|
|
then FORMAT1 applies to non-recent files and FORMAT2 to recent files.
|
|
TIME_STYLE prefixed with 'posix-' takes effect only outside the POSIX locale.
|
|
Also the TIME_STYLE environment variable sets the default style to use.
|
|
<P>
|
|
|
|
Using color to distinguish file types is disabled both by default and
|
|
with <B>--color</B>=<I>,never/</I>. With <B>--color</B>=<I>,auto/</I>, ls emits color codes only when
|
|
standard output is connected to a terminal. The LS_COLORS environment
|
|
variable can change the settings. Use the dircolors command to set it.
|
|
<A NAME="lbAE"> </A>
|
|
<H3>Exit status:</H3>
|
|
|
|
<DL COMPACT>
|
|
<DT id="62">0<DD>
|
|
if OK,
|
|
<DT id="63">1<DD>
|
|
if minor problems (e.g., cannot access subdirectory),
|
|
<DT id="64">2<DD>
|
|
if serious trouble (e.g., cannot access command-line argument).
|
|
</DL>
|
|
<A NAME="lbAF"> </A>
|
|
<H2>AUTHOR</H2>
|
|
|
|
Written by Richard M. Stallman and David MacKenzie.
|
|
<A NAME="lbAG"> </A>
|
|
<H2>REPORTING BUGS</H2>
|
|
|
|
GNU coreutils online help: <<A HREF="https://www.gnu.org/software/coreutils/">https://www.gnu.org/software/coreutils/</A>>
|
|
<BR>
|
|
|
|
Report vdir translation bugs to <<A HREF="https://translationproject.org/team/">https://translationproject.org/team/</A>>
|
|
<A NAME="lbAH"> </A>
|
|
<H2>COPYRIGHT</H2>
|
|
|
|
Copyright © 2018 Free Software Foundation, Inc.
|
|
License GPLv3+: GNU GPL version 3 or later <<A HREF="https://gnu.org/licenses/gpl.html">https://gnu.org/licenses/gpl.html</A>>.
|
|
<BR>
|
|
|
|
This is free software: you are free to change and redistribute it.
|
|
There is NO WARRANTY, to the extent permitted by law.
|
|
<A NAME="lbAI"> </A>
|
|
<H2>SEE ALSO</H2>
|
|
|
|
Full documentation at: <<A HREF="https://www.gnu.org/software/coreutils/vdir">https://www.gnu.org/software/coreutils/vdir</A>>
|
|
<BR>
|
|
|
|
or available locally via: info '(coreutils) vdir invocation'
|
|
<P>
|
|
|
|
<HR>
|
|
<A NAME="index"> </A><H2>Index</H2>
|
|
<DL>
|
|
<DT id="65"><A HREF="#lbAB">NAME</A><DD>
|
|
<DT id="66"><A HREF="#lbAC">SYNOPSIS</A><DD>
|
|
<DT id="67"><A HREF="#lbAD">DESCRIPTION</A><DD>
|
|
<DL>
|
|
<DT id="68"><A HREF="#lbAE">Exit status:</A><DD>
|
|
</DL>
|
|
<DT id="69"><A HREF="#lbAF">AUTHOR</A><DD>
|
|
<DT id="70"><A HREF="#lbAG">REPORTING BUGS</A><DD>
|
|
<DT id="71"><A HREF="#lbAH">COPYRIGHT</A><DD>
|
|
<DT id="72"><A HREF="#lbAI">SEE ALSO</A><DD>
|
|
</DL>
|
|
<HR>
|
|
This document was created by
|
|
<A HREF="/cgi-bin/man/man2html">man2html</A>,
|
|
using the manual pages.<BR>
|
|
Time: 00:05:29 GMT, March 31, 2021
|
|
</BODY>
|
|
</HTML>
|