coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: dd enhancement


From: carl hansen
Subject: Re: dd enhancement
Date: Fri, 5 Oct 2018 17:54:56 -0700

On Fri, Oct 5, 2018 at 1:27 PM paul kairis <address@hidden> wrote:
>
> Hi Berny
> I just wanted to get only the one line statistics and nothing else.
> I have used status=progress in the past. I have coreutils 8.25
> Thanks, Paul
>
>
> On Fri, Oct 5, 2018 at 1:14 PM Bernhard Voelker <address@hidden>
> wrote:
>
> > On 10/5/18 8:24 PM, paul kairis wrote:
> > > Is it possible for dd to provide only the transfer statistics line?
> > > (eliminate the records in/out lines)
> > > The status=noxfer does exactly the opposite, shows records in/out
> > > but suppresses transfer stats. suggestion to add a status=xfer like
> > > dd if=/dev/zero of=zero.txt bs=1M count=1000 status=xfer
> > >
> > > 1048576000 bytes (1.0 GB, 1000 MiB) copied, 0.772897 s, 1.4 GB/s
> > > 1048576000 bytes (1.0 GB, 1000 MiB) copied, 0.768838 s, 1.4 GB/s
> > > 1048576000 bytes (1.0 GB, 1000 MiB) copied, 0.784605 s, 1.3 GB/s
> >
> > I'm not sure what you want to achieve, but did you try "status=progress"
> > (available since 8.24)?  Well, it still writes the in/out lines, yet
> > you'll get the transfer statistics.
> >
> > Have a nice day,
> > Berny
> >

dd if=inwad of=outwad |& grep copied
1599146 bytes (1.6 MB, 1.5 MiB) copied, 0.0127886 s, 125 MB/s



reply via email to

[Prev in Thread] Current Thread [Next in Thread]