K
K
khodos_dmitry2020-02-07 12:46:34
linux
khodos_dmitry, 2020-02-07 12:46:34

Why: "sed: missing input files"?

find /home/otchetonline/html/filial/02-bash/ -name '*.php' | sed -i 's%var/users/otchet/%home/otchetonline/%g'

find /home/otchetonline/html/filial/02-bash/ -name '*.php' looks for files fine

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vladimir Kuts, 2020-02-07
@khodos_dmitry

-i remove
This option means changing the file, and you are passing the I/O stream

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question