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!


Reply via email to