Problem redirecting bazaar command output to file

Asked by Vineet

Hi,

I am trying to redirect my bazaar command output to a file but it's not working. I have tried the following:-

bzr update > redirect.txt

When I try this I see everything on the standard output but nothing is written to redirect.txt

Is there any other way to achieve this? Any option in bazaar command?

Thank you for your help.

Regards,
Vineet

Question information

Language:
English Edit question
Status:
Solved
For:
Bazaar Edit question
Assignee:
No assignee Edit question
Solved by:
John A Meinel
Solved:
Last query:
Last reply:
Revision history for this message
Best John A Meinel (jameinel) said :
#1

Progress information is sent to stderr. So you can use
bzr update 2> request.txt

John
=:->
On Mar 4, 2012 7:01 AM, "Vineet" <email address hidden>
wrote:

> New question #189600 on Bazaar:
> https://answers.launchpad.net/bzr/+question/189600
>
> Hi,
>
> I am trying to redirect my bazaar command output to a file but it's not
> working. I have tried the following:-
>
> bzr update > redirect.txt
>
> When I try this I see everything on the standard output but nothing is
> written to redirect.txt
>
> Is there any other way to achieve this? Any option in bazaar command?
>
> Thank you for your help.
>
> Regards,
> Vineet
>
> --
> You received this question notification because you are an answer
> contact for Bazaar.
>

Revision history for this message
Vineet (vdeshpande) said :
#2

Awesome! It works perfectly .. Thanks a lot John!

Revision history for this message
Vineet (vdeshpande) said :
#3

Thanks John A Meinel, that solved my question.