diff options
author | sharkdp <davidpeter@web.de> | 2019-02-13 20:04:37 +0100 |
---|---|---|
committer | sharkdp <davidpeter@web.de> | 2019-02-13 20:04:37 +0100 |
commit | 7f58e8f7064346ffe569563b657fe92f24830e6a (patch) | |
tree | 1d7d0f22da52d8f7e3bfdc47a0a62d529544a99b | |
parent | f1ab443dd0f628c66341b4b928b6893d197f6599 (diff) |
Update man pagev7.3.0
-rw-r--r-- | doc/fd.1 | 23 |
1 files changed, 22 insertions, 1 deletions
@@ -190,7 +190,7 @@ Examples: \-\-changed-before "2018-10-27 10:00:00" \-\-change-older-than 2weeks .TP -.BI "\-x, \-\-exec " command "\fR [args...] ;" +.BI "\-x, \-\-exec " command Execute .I command for each search result. The following placeholders are substituted by a path derived from the current search result: @@ -206,6 +206,24 @@ path without file extension .IP {/.} basename without file extension .RE +.TP +.BI "\-X, \-\-exec-batch " command +Execute +.I command +with all search results at once. +A single occurence of the following placeholders is authorized and substituted by the paths derived from the search results before the command is executed: +.RS +.IP {} +path +.IP {/} +basename +.IP {//} +parent directory +.IP {.} +path without file extension +.IP {/.} +basename without file extension +.RE .SH ENVIRONMENT .TP .B LS_COLORS @@ -221,5 +239,8 @@ $ fd nginx /var/log .TP .RI "Find all Python files (all files with the extention " .py ") in the current directory:" $ fd -e py +.TP +.RI "Open all search results with vim:" +$ fd pattern -X vim .SH SEE ALSO .BR find (1) |