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 <gentoo-user+bounces-131869-garchives=archives.gentoo.org@lists.gentoo.org>) id 1RW473-0007Qm-88 for garchives@archives.gentoo.org; Thu, 01 Dec 2011 10:43:33 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 55E4921C051; Thu, 1 Dec 2011 10:43:24 +0000 (UTC) Received: from mail-gx0-f181.google.com (mail-gx0-f181.google.com [209.85.161.181]) by pigeon.gentoo.org (Postfix) with ESMTP id 5D1F921C025 for <gentoo-user@lists.gentoo.org>; Thu, 1 Dec 2011 10:42:08 +0000 (UTC) Received: by ggnr1 with SMTP id r1so2087288ggn.40 for <gentoo-user@lists.gentoo.org>; Thu, 01 Dec 2011 02:42:07 -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=sd/IkGi/vZIeQGf+L445GlbGXsPojMh1J6+QG2wwS40=; b=IaAmxd/aT8vTW31TDQwcTEP3lfmCaJGEE0WYp06efZPLUfoem6SufyK3CWyU8KAYIT rPsKemO8GbH4cQwmGrzCbyOYRl1hfZvGEfs1qlNERBP1TgHfcp/xC+vSP0XSIBonmane nIqWXYlUIsgylhKIZdxsruRoiKCTW1/UyFX2k= Received: by 10.236.131.97 with SMTP id l61mr10467286yhi.52.1322736127731; Thu, 01 Dec 2011 02:42:07 -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 v5sm841294anf.3.2011.12.01.02.42.05 (version=SSLv3 cipher=OTHER); Thu, 01 Dec 2011 02:42:06 -0800 (PST) Message-ID: <4ED759FC.6060801@gmail.com> Date: Thu, 01 Dec 2011 04:42:04 -0600 From: Dale <rdalek1967@gmail.com> 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: <mailto:gentoo-user@lists.gentoo.org> List-Help: <mailto:gentoo-user+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-user+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-user+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-user.gentoo.org> 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> <911986BB-0850-4126-BB82-39C1A747EC2D@stellar.eclipse.co.uk> In-Reply-To: <911986BB-0850-4126-BB82-39C1A747EC2D@stellar.eclipse.co.uk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Archives-Salt: 9c3fdbf0-3217-4524-b029-b232457248da X-Archives-Hash: 29670f0cac861cbcae3c3b87736148bd Stroller wrote: > On 1 December 2011, at 01:49, Dale wrote: >> ... >> 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 \. > I see you've renamed your files already, but as a reference answer: > > `rename` from sys-apps/util-linux is ok. > > sys-apps/renameutils should be installed on every system, IMO, and aliased thus in your .bashrc: > > alias qmv="qmv -f do" > alias qcp="qcp -f do" > > Set $EDITOR to vi, and renaming TV shows becomes quick and easy. > > Stroller. > > > vi? O_O Would nano not work? I got stuck in vi once. I felt like I was in Hotel California. :/ Got that tune in your head now huh? lol I'm going to see what else is available too. I bet since Krename is installed, rename is installed too. I'm sure Krename is just a GUI front end to something already on here. Oh, if I learn vi, I'd learn sed, gawk and those other weird named commands too. I'd be a official something. I'm already called a geek and a nerd. ;-) Gentoo you know? Dale :-) :-) -- I am only responsible for what I said ... Not for what you understood or how you interpreted my words!