Problem redirecting bazaar command output to file

Asked by Vineet on 2012-03-04

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:
2012-03-05
Last query:
2012-03-05
Last reply:
2012-03-04
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.
>

Vineet (vdeshpande) said : #2

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

Vineet (vdeshpande) said : #3

Thanks John A Meinel, that solved my question.