I am trying to log something in the console, but it doesn't work. The output is:
Resolving...
+ /keyboard
+ /keyboard/windows.keylayout
+ /keyboard/hardware.txt
Addition count 3 src: 60.42KB
61868 / 61868 [====================================================] 100.00% 0s
I want that into a .log file.
But it only takes "Resolving...", when I execute "script >> script.log"
as the first line, I guess that's because of the "+", how can I fix that, that it will log ALL of the output into that file?
cd /home/andre/test/ && /usr/local/bin/drive_armv7 pull -no-prompt keyboard 2>&1 >> error.log
Thanks.