如何将文件复制到文件中的每个路径? [关闭]

问题描述 投票:0回答:0

File.txt 有路径列表 - 每行路径。我需要将 to_be_copied.txt 文件复制到 File.txt

中存在的所有路径

如何获取文件中的每一行作为 cp 命令的第二个参数?

cp to_be_copied.txt ..?

linux file parsing xargs cp
© www.soinside.com 2019 - 2024. All rights reserved.