Posted on 12-03-2014 01:09 AM
Hi all,
I am currently looking for a tool, which counts files after a installation. (e.g. 1. snapshot; Install Application; 2.snapshot; --> count added files)
Does anyone of you have a idea?
Thanks, Jonny
Posted on 12-03-2014 03:09 AM
There would be a few scripted ways of doing this, although it would require an index of the drive to be taken before and after the install. This is one of the ways Composer creates its packages.
Whats the end goal? (There might be an alternative way to get there).
Posted on 12-03-2014 10:17 AM
Before knowing about Casper Suite, I used to use logGen to package files. It had the side benefit of counting files, too.
Sample output of comparing original output with new output:
% sudo /usr/local/sbin/logGen new.dat orig.dat logGen -- version 1.0 Copyright 2003 - The Regents of the University of Michigan All Rights Reserved 1 new files: --------------- /Library/NewDir/ --------------- 1 changed files: --------------- /Library/TestDir2/someFile --------------- 1 deleted files: --------------- /Library/TestDir/ ---------------
One place to find this software is at http://macosx.thebluebus.nl/tools/loggen