Shutdown device after config update
Sync to temp directory and cleanup after
This will sync the files on the SD card to a temp "incoming" directory on the HD. If sync successfully completes then files are moved to a folder named with the date of the most recent file in the sync job. If all goes without error the source files on the SD are deleted.
Regex needs to be quoted
Cleanup logging