Why do you need to do this with agents? because you want to copy them asynchronously? But if you still want to do this, you can use something like:
(do-all (for [x file-names] (send-off agent-name copy-function x)))
although it might be better to use futures?
source
share