Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- locate something | xargs -I {} bash -c "if [ -d "{}" ]; then echo {}; fi"
- XARGS(1) General Commands Manual XARGS(1)
- NAME
- xargs - build and execute command lines from standard input
- SYNOPSIS
- xargs [-0prtx] [-E eof-str] [-e[eof-str]] [--eof[=eof-str]] [--null]
- [-d delimiter] [--delimiter delimiter] [-I replace-str] [-i[replace-
- str]] [--replace[=replace-str]] [-l[max-lines]] [-L max-lines]
- [--max-lines[=max-lines]] [-n max-args] [--max-args=max-args] [-s max-
- chars] [--max-chars=max-chars] [-P max-procs] [--max-procs=max-procs]
- [--interactive] [--verbose] [--exit] [--no-run-if-empty]
- [--arg-file=file] [--show-limits] [--version] [--help] [command
- [initial-arguments]]
- DESCRIPTION
- This manual page documents the GNU version of xargs...
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement