i am migrating a large number of small files (10 million) and the business unit wants them in sub-folders 201701, 201702, 201703..... currently there in 3 massive directories on several different servers with no folder structure. The file names do not have a disernalable pattern that could be used to sort them.
i am not a programmer so the -match options are a bit vague for me. All i need to see is an Example of setting up a date range.
xcp copy -match (files from 01 2017) \\restore1\source \\netapp\destination\201701
while I can get date components to work fine, I can't access any time components for match. I get name 'hour' is not defined etc..., I used modified and mtime... Was trying to setup a precopy of data without running into a file being activiely written to.