From owner-freebsd-questions@FreeBSD.ORG Wed Jul 16 17:44:19 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C031137B401 for ; Wed, 16 Jul 2003 17:44:18 -0700 (PDT) Received: from mail.hitmedia.com (mail.hitmedia.com [205.162.11.163]) by mx1.FreeBSD.org (Postfix) with SMTP id CF52343FBD for ; Wed, 16 Jul 2003 17:44:17 -0700 (PDT) (envelope-from bsdlap@hitmedia.com) Received: (qmail 91946 invoked by uid 0); 17 Jul 2003 00:44:19 -0000 Date: Wed, 16 Jul 2003 17:44:19 -0700 From: BSD baby To: freebsd-questions@freebsd.org Message-ID: <20030717004419.GA91784@mail.hitmedia.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.1i Subject: how to copy just part of a file? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Jul 2003 00:44:20 -0000 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 basic GNU/BSD commands. Anyone?