...
Code Block | ||
---|---|---|
| ||
ls | xargs -t -I varX md5 varX md5 file1.txt MD5 (file1.txt) = d41d8cd98f00b204e9800998ecf8427e md5 file2.txt MD5 (file2.txt) = d41d8cd98f00b204e9800998ecf8427e md5 file3.txt MD5 (file3.txt) = d41d8cd98f00b204e9800998ecf8427e |
...
Note |
---|
One item I don't understand yet is |
...
why {} forces arguments to be iterated through one at a time. Also, how would we allow more than one argument? -n2 will not work. |
Debugging Xargs with echo
...