Is there any way to redirect messages to a file at the same time as installing pkgs?pkg info -D package_name
Well by using the command given by SirDice you can do it manually from time to time:Is there any way to redirect messages to a file at the same time as installing pkgs?
$ pkg info -Da > package_message.txt
Not actually tried (don't have anything handy to install and clearly harmless for me), but assuming pkg outputs to stdout,Is there any way to redirect messages to a file at the same time as installing pkgs?
pkg install <pkg_to_install> | tee <file_to_save> would work with messages to be shown to display, too. pkg install -n <pkg_to_install> first to confirm it's really what you want, and if OK, pkg install -y <pkg_to_install> | tee <file_to_save> to install without confirmation may work.It won't what Op wants, as Op statedWell by using the command given by SirDice you can do it manually from time to time:
Code:$ pkg info -Da > package_message.txt
at the same time as installing pkgs.That's why I've said manuallyIt won't what Op wants, as Op statedat the same time as installing pkgs.