L larry77 Member Jul 25, 2021 6 0 6 41 Jun 7, 2023 #1 Tell me how you can send the output of command messages to a file? Bash: proxmox-backup-client backup root.pxar:/ ... > status.log doesn't work like that Bash: proxmox-backup-client prune ...> status-prune.log that's how it works
Tell me how you can send the output of command messages to a file? Bash: proxmox-backup-client backup root.pxar:/ ... > status.log doesn't work like that Bash: proxmox-backup-client prune ...> status-prune.log that's how it works
Hannes Laimer Proxmox Staff Member Staff member Jul 27, 2020 750 134 68 25 Jun 7, 2023 #2 Hey, these should work: - command >> filename 2>&1 will append stdout as well as stderr of the command to the end of the file. - and command > filename 2>&1 for overwriting the whole file. Reactions: larry77
Hey, these should work: - command >> filename 2>&1 will append stdout as well as stderr of the command to the end of the file. - and command > filename 2>&1 for overwriting the whole file.
L larry77 Member Jul 25, 2021 6 0 6 41 Jun 7, 2023 #3 Hannes Laimer said: Hey, these should work: - command >> filename 2>&1 will append stdout as well as stderr of the command to the end of the file. - and command > filename 2>&1 for overwriting the whole file. Click to expand... Thank you!
Hannes Laimer said: Hey, these should work: - command >> filename 2>&1 will append stdout as well as stderr of the command to the end of the file. - and command > filename 2>&1 for overwriting the whole file. Click to expand... Thank you!