"Fossies" - the Fresh Open Source Software Archive

Member "littleutils-1.2.5/littleutils/filesize.1" (29 Oct 2021, 1735 Bytes) of package /linux/privat/littleutils-1.2.5.tar.lz:


Caution: As a special service "Fossies" has tried to format the requested manual source page into HTML format but links to other man pages may be missing or even erroneous. Alternatively you can here view or download the uninterpreted manual source code. A member file download can also be achieved by clicking within a package contents listing on the according byte size field. See also the latest Fossies "Diffs" side-by-side code changes report for "filesize.1": 1.2.4_vs_1.2.5.

FILESIZE

NAME
SYNOPSIS
DESCRIPTION
OPTIONS
NOTES
COPYRIGHT

NAME

filesize − print the file size of the specified files

SYNOPSIS

filesize [−f file_list] [−h(elp)] [−p(ipe)] [−q(uiet)] [−t(otalize)] [−v(erbose)] [file...]

DESCRIPTION

filesize prints out the file size of the specified files in bytes.

OPTIONS

−h

Print help and quit.

−f filelist

Read the names of files to be processed from the specified file.

−p

Read the names of files to be processed from stdin.

−q

Quiet output. Do not print the filename with program output.

−t

Totalize the sum of all file sizes. This supercedes both the −c and −q options.

−v

Verbose output. Print the filename with program output.

NOTES

The program defaults to quiet for a single file and verbose for multiple files. The −f and −p options can be used simultaneously with filenames specified on the command-line.

Note that this program operates very similarly to stat −c ’%s’. If you are trying to write highly portable shell scripts, you might consider using stat instead.

COPYRIGHT

Copyright (C) 2004-2021 by Brian Lindholm. This program is free software; you can use it, redistribute it, and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.