> 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.
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.)
Try "dd". Thus:
dd bs=1 skip=$offset count=$length < infile
In the last episode (Jul 16), Chuck Swiger said:
> BSD baby wrote:
> [ ... ]
> > Though I found a scripting way to do it with PHP, I'm wondering if
> > there's a more direct way to do it with basic GNU/BSD commands.
>
> GNU split will take options related to size/byte counts, rather than
> just AS
BSD baby wrote:
[ ... ]
Though I found a scripting way to do it with PHP, I'm wondering
if there's a more direct way to do it with basic GNU/BSD commands.
GNU split will take options related to size/byte counts, rather than just ASCII
lines.
--
-Chuck
_
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.)
Though I found a scripting way to do it with PHP, I'm wondering
if there's a more direct way to do it with basi