My main directory is
/home/hts/.hts/tvheadend/input/dvb/networks/1d38df81855dee2d39e692ecc4caf05c/muxes
In there are many more directories with radomly generated names
Example:
/027941cc4936a3a3515c78487abc5445/ /4ab4097f4089f9e6d3c062a96f027707/ /8224af212d24d291570864021d9107a3/ /bffd49d7d6af0f6405b1dba81df70d89/
Again in those folders is one file (named "config") and one subfolder (named "services". In the subfolder "services" there are files with a radomly generated name.
Example:
/home/hts/.hts/tvheadend/input/dvb/networks/1d38df81855dee2d39e692ecc4caf05c/muxes/027941cc4936a3a3515c78487abc5445/services/02f1f0807a9228c6543425c4f47312e0
I want a simple script that enters every single folder under "muxes" and for each of those folders enters the subfolder "services" and replaces the term
"enabled": true,
through
"enabled": false,
in every file of that folder.