This text is a work in progress—highly subject to change—and may not accurately describe any released version of the Apache™ Subversion® software. Bookmarking or otherwise referring others to this page is probably not such a smart idea. Please visit http://www.svnbook.com/ for stable versions of this book.

Name

svnlook filesize — Print the size (in bytes) of a versioned file.

Synopsis

svnlook filesize REPOS_PATH PATH_IN_REPOS

Description

Print the file size (in bytes) of the file located at PATH_IN_REPOS in the HEAD revision of the repository identified by REPOS_PATH as a base-10 integer followed by an end-of-line character. Use the --revision (-r) and --transaction (-t) options to specify a version of the file other than HEAD whose file size you wish to display.

Options

Examples

The following demonstrates how to display the size of the trunk/vendors/deli/soda.txt file as it appeared in revision 40 of our sample repository:

$ svnlook filesize -r 40 /var/svn/repos trunk/vendors/deli/soda.txt
23
$

copyright  ©  October 23 2019 sean dreilinger url: https://durak.org/sean/pubs/software/version-control-with-subversion-1.8/svn.ref.svnlook.c.filesize.html