cvs: peardoc /en/package/pear/pear-size command-line.xml
| From: | Ken Guest | Date: | Thu, 11 Sep 2008 23:06:06 +0000 |
| Subject: | cvs: peardoc /en/package/pear/pear-size command-line.xml | ||
| Groups: | php.pear.doc | ||
| Request: | Send a blank email to pear-doc+get-11076@lists.php.net to get a copy of this message | ||
kguest Thu Sep 11 23:06:06 2008 UTC
Added files:
/peardoc/en/package/pear/pear-size command-line.xml
Log:
some info on using pear_size at the command line
http://cvs.php.net/viewvc.cgi/peardoc/en/package/pear/pear-size/command-line.xml?view=markup&rev=1.1
Index: peardoc/en/package/pear/pear-size/command-line.xml
+++ peardoc/en/package/pear/pear-size/command-line.xml
<!-- $Revision: 1.1 $ -->
<refentry id="package.pear.pear-size.command-line">
<refnamediv>
<refname>The Command-Line Script</refname>
<refpurpose>generating PEAR_Size reports at the commandline.</refpurpose>
</refnamediv>
<refsect1 id="package.pear.pear-size.command-line.switches">
<title>Switches and options</title>
<para>
The <command>pear size</command> command can be used to generate reports.
</para>
<para>
<screen>
Usage: pear size [OPTIONS] [PACKAGE]
Display information on how much space an installed PEAR package required.
-a, --all display information for all installed packages
-A, --allchannels list packages from all channels, not just the default one
-c, --channel specify which channel
-C, --csv output results in CSV format (sizes are measured in bytes).
-h, --human-readable print sizes in human readable format (for example: 492 B 1KB 7MB)
-H, --si likewise, but use powers of 1000 not 1024
-t, --type specify what type of files are required for the report
by default all types are assumed
-s, --summarise display channel summary view
-S, --fsort sort by file size
-v, --verbose display more detailed information
--help display this help and exit
-V, --version output version information and exit
-X, --xml output results in XML format
Types:
You can specify a subset of roles/file-types to be listed in the report.
These roles are those as supported by the PEAR installer.
These are: data, doc, ext, php, script, src, test
Examples:
$ pear size --all
$ pear size Console_Table
$ pear size -ttest,doc Console_Table
$ pear size --type=test,doc,php -h Console_Table Date_Holidays
</screen>
</para>
</refsect1>
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
sgml-parent-document:nil
sgml-default-dtd-file:"../../../../manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->