Code: Select all
Procedure RunBeforeFolderCompare(Foldername; var Skip);
begin
Skip := True;
end
Thank you for your help.
Code: Select all
//
// Ignore all files containing a flag file.
// SBLang=Pascal
//
Function Description(var ScriptType);
begin
Result := 'Ignore folders containing a flag file.';
ScriptType := SCRIPTTYPE_RUN;
End;
Procedure RunBeforeFolderCompare(Foldername; var Skip);
begin
if SBRunning.LeftFileExists(Foldername + '.nobackup') then
begin
// ShowMessage('I will skip ' + Foldername);
Skip := True;
end
End;
(side note: you cannot search the forum for the string "RunBeforeFolderCompare", it says the word is too common!)
I asked support, but they said they do not offer any scripting support whatsoever.