Python: Batch file move

IN PROGRESS
Bids
13
Avg Bid (USD)
$108
Project Budget (USD)
$30 - $250

Project Description:
I have a single directory with ~179,000 files in it.

All of the files follow this format: - - (I put spaces in for clarity, they don't exist in actual file name).

Most often will be formatted like this: first-last like Bill Gates
Other times it will just be a single word: Pepsi

will ALWAYS be "Fyrt" and it will ALWAYS be present as part of the creating software's tagger.

will also ALWAYS be present and are random from 1 - 7 digits

an example file name is: Free-Lancer-Fyrt-1234567


I want a python script that when placed into the directory will scan all the file names then create and move files into their own folder using the file name up to "Fyrt". So using our example file name from before; Free-Lancer-Fyrt-1234567 the resulting output will be a folder called "Free-Lancer". There will be files that need to go into the same directory for example: Free-Lancer-Fyrt-1234567, Free-Lancer-Fyrt-1234568, Free-Lancer-Fyrt-1234569, Free-Lancer-Fyrt-1234570, will all go into the same "Free-Lancer" directory. The output directory for the folders should be the parent directory, so if the files are in the "Foo" directory our new folders path would be Foo/Free-Lancer.

Additional Project Description:
03/11/2013 at 13:09 EET
--edit--

All of the files follow this format: name-word-numbers

"name" Most often will be formatted like this: first-last like Bill Gates
Other times it will just be a single word: Pepsi

"word" will ALWAYS be "Fyrt" and it will ALWAYS be present as part of the creating software's tagger.

"numbers" will also ALWAYS be present and are random from 1 - 7 digits


03/11/2013 at 21:30 EET
It will be for a Windows OS

Skills required:
Python
About the employer:
Verified
Public Clarification Board
Bids are hidden by the project creator. Log in as the employer to view bids or to bid on this project.
You will not be able to bid on this project if you are not qualified in one of the job categories. To see your qualifications click here.


$ 100
in 2 days
Hire tlyx
$ 100
in 3 days
Hire wolframio74
$ 100
in 2 days
$ 50
in 2 days
$ 90
in 4 days
Hire Appolon
$ 40
in 3 days
Hire JuventusMaximus
$ 239
in 1 days
$ 55
in 1 days
$ 49
in 1 days
Hire Bramfeld
$ 100
in 2 days