Skip to Content
gnux

-I, --replace-string

Same as --replace=R.

An option of xargsx.

Usage

xargsx -I R [COMMAND [INITIAL-ARGUMENT]...]
xargsx --replace-string=R [COMMAND [INITIAL-ARGUMENT]...]

Details

ShortLongValueDefaultMeaning
-I--replace-stringRsame as --replace=R

Examples

Run one command per line, with the line placed inside an argument

printfx 'a.txt\nb.txt\n' | xargsx -I {} cpx {} {}.bak

Help in the terminal

gnux help xargsx --replace-string

On this page