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 diskpath

Disk folder to add

STRING basepath

Base path for the archived files

RECORD options

Options

MACRO PTR filerewriter

Callback 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).