Hello,

Many thanks, that is working. 

---
Antonino Sidoti




> On 21 Oct 2021, at 7:39 am, Omar Polo <[email protected]> wrote:
> 
> 
> Antonino Sidoti <[email protected]> writes:
> 
>> Hello,
>> 
>> I am using openrsync to copy some data to cloud based share and I am
>> using ‘-trv’ as my switches. I want to pipe out the verbose contents
>> to a file but it will not collect any data and is always zero bytes.
>> 
>> e.g
>> 
>> openrsync -trv --exclude “myfile” --delete /mydir/ 1234:Test > dump
>> 
>> Is there something wrong with how I am using openrsync? The file ‘dump’ 
>> contains no data.
> 
> the fact that
> 
> $ openrsync ... > dump
> 
> still logs the output to the terminal should be a clue that maybe the
> redirect is wrong.
> 
> openrsync logs on stderr, so you need to redirect that
> 
> $ openrsync ... 2> dump
> 
>> Thanks
>> 
>> ---
>> Antonino Sidoti
> 

Reply via email to