Google Groups unterstützt keine neuen Usenet-Beiträge oder ‑Abos mehr. Bisherige Inhalte sind weiterhin sichtbar.

VSS project size

27 Aufrufe
Direkt zur ersten ungelesenen Nachricht

Sout

ungelesen,
14.01.2004, 16:10:3714.01.04
an
Is there a way I can find out the size of whole project
in VSS??? I look at an article in MSDN under Visual
Sourcesafe 6.0 automation, but it doesn't contain the size
object.

I know it's possible to find the size of an individual
file.
Your help is greatly appreciated!

Thanks
Sout

Rich Knox [MS]

ungelesen,
19.01.2004, 15:01:1919.01.04
an
You can get file size from the SourceSafe command line. Make sure the win32
folder in your VSS install is on your path. Also set the SSDIR environment
variable to the folder that contains the srcsafe.ini file for your VSS
database. From a DOS prompt enter:
ss properties $/Project /r

to get a recursive property report. This gives you a lot more information
than you want, You can filter it some by entering:
ss properties $/ /r | findstr "File: Size:"

This gives you output looking like this:
File: $/MYFRAMEWORK/foo.txt
Size: 26 bytes 2 lines
File: $/MYFRAMEWORK/A/baz.txt
Size: 23 bytes 2 lines
File: $/MYFRAMEWORK/A/quux.txt
Size: 12 bytes 1 lines

You could write a script to parse this further and give you a total size.

- Rich Knox [MSFT]

This posting is provided "AS IS" with no warranties, and confers no rights.

--------------------
| From: "Sout" <anon...@discussions.microsoft.com>
| Subject: VSS project size
| Date: Wed, 14 Jan 2004 13:10:37 -0800

0 neue Nachrichten