Greetings all,
I just ran into a misunderstanding with the uptodate task.
I have a situation where I want all updated *or* new files in the source folders to be copied.
If the target folder is empty (or does not exist), then the operation is as I would expect. Uptodate returns False, and the copy tasks update the files as expected.
If the target folder is not empty, then it seems that uptodate only checks files which exist in the target folder. This means Uptodate returns false if the only change is that new files have been added to the source folder.
I would prefer not to delete the target folder on every occasion, since that defeats the purpose of using uptodate. Is there something I'm missing which will allow uptodate to operate as I need? Failing that, is there an alternate task that meets this need?
Regards,
Richard