📜  使用管道 xargs 的输出 - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:51:49.132000             🧑  作者: Mango

代码示例1
Just use the pipe output of a command as input with xargs as follows:
ls | xargs -I {} echo "File " {} "stored in current folder" > files_list
Command above gets files in a folder and save echo output into a file