mirror of
https://github.com/sharkdp/fd
synced 2024-07-01 07:14:22 +00:00
Add description of multiple --exec to man page
This commit is contained in:
parent
f27332ee8d
commit
e54e352035
6
doc/fd.1
vendored
6
doc/fd.1
vendored
|
@ -341,6 +341,9 @@ Note that all subsequent positional arguments are considered to be arguments to
|
|||
It is therefore recommended to place the \-x/\-\-exec option last. Alternatively, you can supply
|
||||
a ';' argument to end the argument list and continue with more fd options.
|
||||
Most shells require ';' to be escaped: '\\;'.
|
||||
This option can be specified multiple times, in which case all commands are run for each
|
||||
file found, in the order they are provided. In that case, you must supply a ';' argument for
|
||||
all but the last commands.
|
||||
|
||||
The following placeholders are substituted before the command is executed:
|
||||
.RS
|
||||
|
@ -394,6 +397,9 @@ basename without file extension
|
|||
|
||||
If no placeholder is present, an implicit "{}" at the end is assumed.
|
||||
|
||||
Like \-\-exec, this can be used multiple times, in which case each command will be run in
|
||||
the order given.
|
||||
|
||||
Examples:
|
||||
|
||||
- Find all test_*.py files and open them in your favorite editor:
|
||||
|
|
Loading…
Reference in New Issue
Block a user