how to copy just part of a file?

Matthew Emmerton matt at compar.com
Wed Jul 16 21:47:22 PDT 2003


> On Wed, 16 Jul 2003, BSD baby wrote:
>
> > Is there an easy built-in way to copy only part of a file?
> >
> > I want to take a WAV audio file and copy from #__ bytes to
> > #___ bytes into a new file.
> >
> > (I'm making 30-second clips of files.)

You might find WavSplit (http://www.xmailserver.org/davide.html) useful.  It
will split a wav file into sections of X seconds each.

It isn't part of the ports collection yet, but I just submitted a PR to add
it.

--
Matt Emmerton



More information about the freebsd-questions mailing list