T********r 发帖数: 6210 | 1 cd the .. directory of dir0,
find . -name file1 -exec /bin/cp dir0/folder1/folder2/file1 {} \;
note, cp won't replace the dir0/folder1/folder2/file1 with the same
file. | A*********c 发帖数: 77 | 2 Thanks!
to
so
20
【在 T********r 的大作中提到】 : cd the .. directory of dir0, : find . -name file1 -exec /bin/cp dir0/folder1/folder2/file1 {} \; : note, cp won't replace the dir0/folder1/folder2/file1 with the same : file.
|
|