Convert .log file to .txt in Bash

1
Hello, I would like to know how to convert a generated .log file into a container in Docker and convert it to a txt file using Bash.

    
asked by anonymous 13.09.2017 / 15:55

1 answer

2

I do not know if it would help but you can use the Unix move command.

Examples

mv MeuArquivo.log MeuArquivo.txt

Or in a specific directory ...

mv /var/logs/MeuArquivo.log /var/logs/MeuArquivo.txt

    
13.09.2017 / 17:20