From owner-freebsd-questions@FreeBSD.ORG Wed Oct 26 10:39:42 2005 Return-Path: X-Original-To: questions@freebsd.org 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 ED69D16A41F for ; Wed, 26 Oct 2005 10:39:42 +0000 (GMT) (envelope-from parv@pair.com) Received: from mta10.adelphia.net (mta10.adelphia.net [68.168.78.202]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8545943D46 for ; Wed, 26 Oct 2005 10:39:42 +0000 (GMT) (envelope-from parv@pair.com) Received: from default.chvlva.adelphia.net ([69.160.76.67]) by mta10.adelphia.net (InterMail vM.6.01.05.02 201-2131-123-102-20050715) with ESMTP id <20051026103941.FRXM16334.mta10.adelphia.net@default.chvlva.adelphia.net>; Wed, 26 Oct 2005 06:39:41 -0400 Received: by default.chvlva.adelphia.net (Postfix, from userid 1000) id 26952B4F8; Wed, 26 Oct 2005 06:39:48 -0400 (EDT) Date: Wed, 26 Oct 2005 06:39:48 -0400 From: Parv To: Fafa Hafiz Krantz Message-ID: <20051026103948.GB5168@holestein.holy.cow> Mail-Followup-To: Fafa Hafiz Krantz , questions@freebsd.org References: <20051026091053.8E30C83C03@ws1-1.us4.outblaze.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20051026091053.8E30C83C03@ws1-1.us4.outblaze.com> Cc: questions@freebsd.org Subject: Re: Maintaining my music collection (off topic) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: f-q List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Oct 2005 10:39:43 -0000 in message <20051026091053.8E30C83C03@ws1-1.us4.outblaze.com>, wrote Fafa Hafiz Krantz thusly... > > fix() { > find ${1+:"$@"} -name '*.nfo' | while read file ; do > cd ${file%/*} ^ ^ ^ ^ Looks like this script is not going to work in FreeBSD /bin/sh. Install one of shells/bash* (guessing) ports and run this script under that shell (unless somebody does the conversion for you). - Parv --