I have a command that outputs a few lines of text to the console in this format: <FILE_NAME>: <STRING_VALUE>.
Example:
FILE1: abc1
FILE2: def2
FILE3: ghi3
I want to create files, FILE1,FILE2 and FILE3 with the contents of abc1,def2 and ghi3 respectively.
Something like
echo "text" >> FILE1
but have it do recursively
What is a single one-liner command to do this?