From owner-freebsd-questions@FreeBSD.ORG Tue Aug 31 17:36:42 2004 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 45DBA16A4CE for ; Tue, 31 Aug 2004 17:36:42 +0000 (GMT) Received: from sccrmhc11.comcast.net (sccrmhc11.comcast.net [204.127.202.55]) by mx1.FreeBSD.org (Postfix) with ESMTP id AE12943D55 for ; Tue, 31 Aug 2004 17:36:41 +0000 (GMT) (envelope-from karl@akheller.net) Received: from darktower.akheller.net ([68.85.124.105]) by comcast.net (sccrmhc11) with ESMTP id <20040831173639011008ek5ge>; Tue, 31 Aug 2004 17:36:39 +0000 Received: from [192.168.1.9] (gold.akheller.net [192.168.1.9]) by darktower.akheller.net (8.11.6/8.11.6) with ESMTP id i7VHaWI55784 for ; Tue, 31 Aug 2004 13:36:32 -0400 (EDT) (envelope-from karl@akheller.net) Message-ID: <4134B742.5030602@akheller.net> Date: Tue, 31 Aug 2004 13:37:06 -0400 From: Karl Heller User-Agent: Mozilla Thunderbird 0.7.2 (Windows/20040707) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-AKH-MailScanner: Found to be clean X-MailScanner-From: karl@akheller.net Subject: Regex with dump/restore not working 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: Tue, 31 Aug 2004 17:36:42 -0000 I'm trying to do something very simple, that is, restore just mp3 files from a set of tapes. However, none of the expressions I'm using will work.. restore -tvNf /dev/nsa1 expression; where epxressions I have tried are *mp3 *.mp3 .*mp3 ^*.mp3 ^*.mp3$ ^.*mp3$ It seems any expression consisting of .* will match anything on the tape. Now, I've tried most of these through grep and egrep and they work there, but not on the restore..which says it wasn't located on the tape. I'd rather not do a full restore of all other files (wav, etc...) which is about 1TB over 10 tapes. So, what am I doing wrong? Thanks! Karl .