我生成了一个文本文件,其中包含我系统上特定项目中使用的文件路径。
这是生成的文本文件的示例
%C/BL_PROJECTS/PRJ_BMB/INPUT/REEL_06/MISSING_SCAN/240413/Promise Pegasus/BMB/RED EPIC DATA/R3D/DAY 81/20-10-12/CAM B/B184_1020RM/B184_1020RM.RDM/B184_C002_1020JV.RDC/B184_C002_1020JV_001.R3D
%C/BL_PROJECTS/PRJ_BMB/INPUT/REEL_06/MISSING_SCAN/240413/Promise Pegasus/BMB/RED EPIC DATA/R3D/DAY 81/20-10-12/CAM A/A211_102080/A211_102080.RDM/A211_C002_1020W8.RDC/A211_C002_1020W8_001.R3D
我正在尝试找到一种方法来替换从该文件生成另一个文本文件,该文件将命令fl-cp -sync "/vol/images/
附加到每行的前面,并将输出路径附加到每行的末尾"/vol/images/SOMEOTHERPATH...
例如:
fl-cp -sync "/vol/images/BL_PROJECTS/PRJ_BMB/INPUT/REEL_06/MISSING_SCAN/240413/Promise Pegasus/BMB/RED EPIC DATA/R3D/DAY 81/20-10-12/CAM B/B184_1020RM/B184_1020RM.RDM/B184_C002_1020JV.RDC/B184_C002_1020JV_001.R3D" "/vol/images/SOMEOTHERPATH/BL_PROJECTS/PRJ_BMB/INPUT/REEL_06/MISSING_SCAN/240413/Promise Pegasus/BMB/RED EPIC DATA/R3D/DAY 81/20-10-12/CAM B/B184_1020RM/B184_1020RM.RDM/B184_C002_1020JV.RDC/B184_C002_1020JV_001.R3D"
fl-cp -sync "/vol/images/BL_PROJECTS/PRJ_BMB/INPUT/REEL_06/MISSING_SCAN/240413/Promise Pegasus/BMB/RED EPIC DATA/R3D/DAY 81/20-10-12/CAM A/A211_102080/A211_102080.RDM/A211_C002_1020W8.RDC/A211_C002_1020W8_001.R3D" "/vol/images/SOMEOTHERPATH/BL_PROJECTS/PRJ_BMB/INPUT/REEL_06/MISSING_SCAN/240413/Promise Pegasus/BMB/RED EPIC DATA/R3D/DAY 81/20-10-12/CAM A/A211_102080/A211_102080.RDM/A211_C002_1020W8.RDC/A211_C002_1020W8_001.R3D"
有什么方法可以让我使用终端或使用 ssh 的批处理脚本轻松做到这一点?