Archive::AddDiskFolderRecursive (open)
Add a disk folder and its files recursively
Syntax
LOADLIB "wh::filetypes/archiving.whlib";
MACRO AddDiskFolderRecursive(STRING diskpath, STRING basepath, RECORD options)Parameters
STRING diskpathDisk folder to add
STRING basepathBase path for the archived files
RECORD optionsOptions
MACRO PTR filerewriterCallback to rewrite files. Signature: RECORD FUNCTION func(RECORD entry). The entry contains the following cells: name, type, path, modified, data, archivepath. Must return the entry with modifications (changes to the cells name, data and modified are used).