Static Synchronisation (staticsync.php)
From ResourceSpace Documentation Wiki
Staticsync is intended for the case where there is an operational reason why you still need your existing resources to remain in a standard folder structure.
!!! staticsync.php is currently development code and may require modification to suit your environment !!!
It is not intended as a way to store resources externally in order to increase your storage capability. This should be done by mapping drive(s) to the filestore folder at an operating system level.
Files that are deleted from the filestore will be archived within ResourceSpace rather than deleted so that metadata is not lost. This process is not reversed when the file is replaced - instead a new resource is created.
Staticsync.php should be configured as a nightly cron job and is designed to run from the command line rather than via the web/apache (e.g. 'php staticsync.php').
Resource types are automatically selected based on the file's extension, and currently this is hard coded.
