D
D
Dmitry Rybin2019-12-15 18:11:53
linux
Dmitry Rybin, 2019-12-15 18:11:53

How to delete a file having certain text?

Good afternoon. Such a problem. There are a huge number of configs in the /players folder in .json format If this file contains the text:
- '*'
Then you need to delete this file with the player, preferably with the ssh command)
OS debian 8.11

Answer the question

In order to leave comments, you need to log in

1 answer(s)
U
uvelichitel, 2019-12-15
@mb_of

Try Flags -l print filename only -e regular expression -r search recursively in directory

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question