RISC OS Open
Safeguarding the past, present and future of RISC OS for everyone
ROOL
Home | News | Downloads | Bugs | Bounties | Forum | Documents | Photos | Contact us
Account

*Count

Programmer's Reference Manuals
» *Commands
» *Count

*Count

Use

This *Command adds up the sizes of data held in one or more objects that match the given wildcard specification.

Syntax

*Count object_spec [[~]options]

Parameters

object_spec Valid (wilcarded) pathname specifying a file or directory
options Valid options (Upper/lowercase letters, separated by spaces). Default
C(onfirm) Prompt for confirmation of each copy OFF
R(ecurse) Count subdirectories and contents ON
V(erbose) Print information on each object copied OFF

Notes

Options are taken from the system variable Copy$Options, and those given to the command.

The size of data returned consists of the actual amount of data each object is comprised of, rather than the amount of disc space it occupies.

To turn on a specific option, it must be included in the option list. To ensure a specific option is turned off, then it must be preceded with the tilde symbol (~).

See also

  • *Ex
  • *FileInfo
  • *Info
Revised on November 20, 2016 08:21:31 by Alan Robertson (52) (58.110.70.190)
Edit | Back in time (4 revisions) | See changes | History | Views: Print | Source | Linked from: OS_FSControl 28, *Commands, FileSwitch *Commands, System Variables

Search the Wiki

Social

Follow us on and

ROOL Store

Buy RISC OS Open merchandise here, including SD cards for Raspberry Pi and more.

Donate! Why?

Help ROOL make things happen – please consider donating!

RISC OS IPR

RISC OS is an Open Source operating system owned by RISC OS Developments Ltd and licensed primarily under the Apache 2.0 license.

Navigation

  • Home Page
  • All Pages
  • Recently Revised
  • Authors
  • Feeds
Site design © RISC OS Open Limited 2018 except where indicated
The RISC OS Open Instiki theme is based on Insitki's default layout

Valid XHTML 1.0  |  Valid CSS

Instiki 0.19.1(MML+)
This site runs on Rails

Hosted by Arachsys