From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1RVy7Q-00025v-LN for garchives@archives.gentoo.org; Thu, 01 Dec 2011 04:19:33 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1215721C0A4; Thu, 1 Dec 2011 04:19:23 +0000 (UTC) Received: from mail-yx0-f181.google.com (mail-yx0-f181.google.com [209.85.213.181]) by pigeon.gentoo.org (Postfix) with ESMTP id 8B2E721C038 for ; Thu, 1 Dec 2011 04:18:09 +0000 (UTC) Received: by yenm12 with SMTP id m12so1649206yen.40 for ; Wed, 30 Nov 2011 20:18:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=NDK+ndOrglOH4TAcngBinvko/jylwZPt8JfV2iaqmKA=; b=blMvFbrUcFwkLADx7zhCK4XFoBFZeeM3T+BJBHU/Xxu0CYunDAZek3i1NRflhVNkkn dzOJnC+TH18YpnBbiEVubG5whog3qM+LJn7aeYtzZjgm+nR1mTblkFTDaQv4R6jZ2yJM mNzCcv/7Eo8MnOG7unl+biXXeHT10TSj6HJFA= Received: by 10.236.178.33 with SMTP id e21mr9184659yhm.4.1322713089043; Wed, 30 Nov 2011 20:18:09 -0800 (PST) Received: from [192.168.2.5] (adsl-98-95-128-85.jan.bellsouth.net. [98.95.128.85]) by mx.google.com with ESMTPS id l19sm11733890anc.14.2011.11.30.20.18.07 (version=SSLv3 cipher=OTHER); Wed, 30 Nov 2011 20:18:08 -0800 (PST) Message-ID: <4ED6FFFD.3010406@gmail.com> Date: Wed, 30 Nov 2011 22:18:05 -0600 From: Dale User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:7.0.1) Gecko/20111022 Firefox/7.0.1 SeaMonkey/2.4.1 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Changing names of LOTS of files, adding to them actually. References: <4ED6DD26.1070604@gmail.com> In-Reply-To: <4ED6DD26.1070604@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Archives-Salt: 16371f7c-327f-4082-86bd-2db26c8ef5fa X-Archives-Hash: d7d5a3e3401b2626d1fac1358fcc2ca7 Dale wrote: > Greets, > > I ran into a problem. I been downloading a lot of TV shows. I forgot > to put a sort of important part in the names. This is what I have > with the full path: > > /data/Movies/TV_Series/Person of Interest/Season 1, Episode 1 - Pilot.mp4 > > This is what I need it to be: > > /data/Movies/TV_Series/Person of Interest/Person of Interest - Season > 1, Episode 1 - Pilot.mp4 > > Basically, I need to add the name of the show to the name of the > file. They will all be added to the front of the names. They also > almost all contain spaces, which means some fancy footwork with the \. > > Is there a way to do this? I have room to copy them to another > directory if needed. I would sort of actually prefer it that way > since if it messes up, I got the originals at least. > > Sorry I'm not real good at gawk, sed and all those things. I suspect > those will be used tho. I am familiar with | and grep tho. ;-) > > Thoughts? > > Dale > > :-) :-) > I got them all changed, about 250 or so of them. Thanks to *all* for the replies. I got to save and review some of the command line ones too. May learn something. Sort of reminds me of my old Vic-20. O_O Thanks much. Dale :-) :-) -- I am only responsible for what I said ... Not for what you understood or how you interpreted my words!