Jump to content



Photo
Answered Go to the full post

  • Please log in to reply
4 replies to this topic

#1 ady199

ady199

    Neowinian

  • Joined: 25-October 01

Posted 17 May 2014 - 07:23

Is there any software that will allow me to enter a tag into over 900 .nfo files?

 

The nfo files are located in there own directory but I need to enter in a tag to enable XMBC to use thumbs.

 

Thanks in advance



Best Answer LaP , 18 May 2014 - 22:56

You can do it using Notepad++ and the Find in files option (Ctrl+Shift+F) and a regular expression.
 
Find what: [insert regular expression here]
Replace with: [insert your tag here]
Filters: *.nfo
Directory: [insert root directory of nfo files here]
 
Check In all sub-folders and Regular expression.
 
How to use regular expressions in Notepad++ (tutorial)

Go to the full post



#2 zhangm

zhangm

    Just bitter.

  • Tech Issues Solved: 20
  • Joined: 21-August 02

Posted 18 May 2014 - 22:53

If I remember, .nfo files are just plain text, so it might be pretty feasible to write a batch script to insert the appropriate tag.

 

Can you describe the format and content that you'd want to enter?



#3 xendrome

xendrome

    In God We Trust; All Others We Monitor

  • Tech Issues Solved: 13
  • Joined: 05-December 01
  • OS: Windows 8.1 Pro x64

Posted 18 May 2014 - 22:56

use this - http://www.funduc.co...rch_replace.htm



#4 LaP

LaP

    Forget about it

  • Tech Issues Solved: 4
  • Joined: 10-July 06
  • Location: Quebec City, Canada
  • OS: Windows 8.1 Pro Update 1

Posted 18 May 2014 - 22:56   Best Answer

You can do it using Notepad++ and the Find in files option (Ctrl+Shift+F) and a regular expression.
 
Find what: [insert regular expression here]
Replace with: [insert your tag here]
Filters: *.nfo
Directory: [insert root directory of nfo files here]
 
Check In all sub-folders and Regular expression.
 
How to use regular expressions in Notepad++ (tutorial)



#5 spikey_richie

spikey_richie

    XXXIII

  • Tech Issues Solved: 5
  • Joined: 02-February 05
  • Location: Nuneaton, UK
  • OS: Windows 8.1u1 Pro 64-bit
  • Phone: Sony Xperia Z1

Posted 20 May 2014 - 13:53

+1 for the Notepad++ option.