Using a script, I'd like to load two snapshot files, and output the differences to a third snapshot file.
I can do it in the GUI, but haven't been able to do it in a script. Following seems close, but no bcss file is generated:
log verbose "%1"
option confirm:yes-to-all
# Compare using crc.
criteria crc
# Load current files against snapshot from the last patch.
load "%2" "%3"
# Expand to affect subfolders and files.
expand all
# Select updated files.
select right.diff.files right.orphan.files
#Capture directory contents to snapshot file
snapshot save-crc save-version no-filters expand-archives output:"%4"
Any help would be appreciated.
Thanks.
I can do it in the GUI, but haven't been able to do it in a script. Following seems close, but no bcss file is generated:
log verbose "%1"
option confirm:yes-to-all
# Compare using crc.
criteria crc
# Load current files against snapshot from the last patch.
load "%2" "%3"
# Expand to affect subfolders and files.
expand all
# Select updated files.
select right.diff.files right.orphan.files
#Capture directory contents to snapshot file
snapshot save-crc save-version no-filters expand-archives output:"%4"
Any help would be appreciated.
Thanks.
Comment