svnlook filesize

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.

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
$