UNIX Shells by Example (4th Edition)
| < Day Day Up > |
xargs ”constructs an argument list(s) and executes a command
xargs [ flags ] [ command [ initialarguments ] ]
xargs allows you to transfer contents of files into a command line and dynamically build command lines. Example A.70.
1 ls xargs -i -t mv /{} /{} 2 ls xargs -p -l rm -rf
EXPLANATION
|
| < Day Day Up > |