Answers for "xargs parameter"

0

xargs parameter

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
Posted by: Guest on November-06-2020

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language