Create dummy blank files from excel list

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
abba77 Offline
Senior Member
Posts: 104
Joined: Mar 2009
Reputation: 0
Post: #1
Hi,

I have over 700 movies listed in an excel file over the last few years. I would like to catalog these within XBMC by creating a dummy file with the movie name, year and extension of avi or mkv.

Instead of creating them or typing them all out, anyone know of a tool that will automate the task from an excel, text, or csv file?

thanks
find quote
blittan Offline
Team-XBMC Handyman
Posts: 1,714
Joined: Jun 2004
Reputation: 11
Location: Sweden
Post: #2
- vbscript in excel ?

or save it as a textfile and make a dosbatch from it..

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
If you don't have the time to read them, please don't take the time to post in this forum!
For troubleshooting and bug reporting please make sure you read this first.
find quote
havix Offline
Junior Member
Posts: 30
Joined: Sep 2008
Reputation: 0
Post: #3
Perfect reason to learn powershell. Save as a csv and then off the top of my head the command would be something like
import-csv C:\movies.csv | foreach-object{new-item -path c:\movies -name $_}
find quote
abba77 Offline
Senior Member
Posts: 104
Joined: Mar 2009
Reputation: 0
Post: #4
will try powershell.

i actually, with a friend of mine created a small app in visual studio that does it for me. he took just a few mins. there is no error handling as such, but hard to mess up.
find quote