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 1RW4Jv-0002gt-EY for garchives@archives.gentoo.org; Thu, 01 Dec 2011 10:56:51 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2AC3221C088; Thu, 1 Dec 2011 10:56:32 +0000 (UTC) Received: from mta-2.ms.rz.rwth-aachen.de (mta-2.ms.rz.RWTH-Aachen.DE [134.130.7.73]) by pigeon.gentoo.org (Postfix) with ESMTP id 5777021C023 for ; Thu, 1 Dec 2011 10:55:12 +0000 (UTC) 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 Content-transfer-encoding: 7BIT Content-disposition: inline Content-type: text/plain; charset=us-ascii Received: from ironport-out-1.rz.rwth-aachen.de ([134.130.5.40]) by mta-2.ms.rz.RWTH-Aachen.de (Sun Java(tm) System Messaging Server 6.3-7.04 (built Sep 26 2008)) with ESMTP id <0LVI009L2UBZJZ60@mta-2.ms.rz.RWTH-Aachen.de> for gentoo-user@lists.gentoo.org; Thu, 01 Dec 2011 11:55:11 +0100 (CET) X-IronPort-AV: E=Sophos;i="4.71,277,1320620400"; d="scan'208";a="152026959" Received: from relay-2.ms.rz.rwth-aachen.de (HELO relay.rwth-aachen.de) ([134.130.7.75]) by ironport-in-1.rz.rwth-aachen.de with ESMTP; Thu, 01 Dec 2011 11:55:11 +0100 Received: from numa-i.igpm.rwth-aachen.de (numa-i.igpm.RWTH-Aachen.DE [134.130.161.252]) by relay.rwth-aachen.de (8.14.4+Sun/8.13.8/1) with ESMTP id pB1AtBch016357 for ; Thu, 01 Dec 2011 11:55:11 +0100 (CET) Received: from numa-i (localhost [127.0.0.1]) by numa-i.igpm.rwth-aachen.de (Postfix) with ESMTP id 0AE8E59A for ; Thu, 01 Dec 2011 11:55:12 +0100 (CET) Date: Thu, 01 Dec 2011 11:55:12 +0100 From: Helmut Jarausch Subject: Re: [gentoo-user] Changing names of LOTS of files, adding to them actually. To: gentoo-user@lists.gentoo.org 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> X-Mailer: Balsa 2.4.11 Message-id: <1322736912.841.0@numa-i> X-Archives-Salt: bcc34384-0c90-4068-a4ec-9ea4558a99a8 X-Archives-Hash: acab6f07098858d5da0828234c7d9846 On 12/01/2011 10:34:33 AM, 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. > I prefer sys-apps/pyrenamer which is (IMHO) even more comfortable. Helmut.