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.