我在 nexus 中有一个文本文件,其目录结构如下:
security/maple.txt
user/file access/maple.txt
security/useraccess/username/document.pdf
components/pdffiles
security/publicapp
new/compliance.pdf
.
.
.
和我的target destinationE:/apps/compliance 有多个文件夹,名称如下,例如其中存在一些文件
security/maple.txt
components/pdffiles
user
compliance
.
.
.
我已经编写了一个可靠的任务来将文本文件从 nexus 下载到本地目的地,但是我需要一个可靠的任务来将文件从本地目的地复制到目标目的地,其中文件只需要复制到各自的文件夹中。 例如“publicapp”、“useraccess/username/document.pdf”必须复制到目标目的地的security文件夹。 帮助将不胜感激。