s*****w 发帖数: 1527 | 1 say i want to copy all files from folder1 to folder2,
how to write in this way:
ls folder1 | xargs cp folder2
this won't work, what's the correct way pls ?
not a good example, but you get the idea. thanks ! | w***g 发帖数: 5958 | 2 ls folder1 | xargs -I{} cp {} folder2
【在 s*****w 的大作中提到】 : say i want to copy all files from folder1 to folder2, : how to write in this way: : ls folder1 | xargs cp folder2 : this won't work, what's the correct way pls ? : not a good example, but you get the idea. thanks !
| s*****w 发帖数: 1527 | 3 谢大牛!
【在 w***g 的大作中提到】 : ls folder1 | xargs -I{} cp {} folder2
|
|