PDA

View Full Version : [REQ] Rename SFV/NFO to directory name on upload


odog
07-30-2004, 09:34 AM
would like a script that converts *.nfo and *.sfv filname too parentdirname.nfo
if tre.nfo is uploaded into trying/try/ it will be named try.nfo

neoxed
07-30-2004, 11:31 AM
In the event that more then one NFO or SFV is uploaded, what would you like the script to do then? This would be a problem with "spam/tag" NFOs that are uploaded.

What about only renaming the NFO to the directory name if the group suffix matches the filename. For example:

1. The directory /Blah/Something.Cool-ABC is created.
2. 123.nfo and ABC.nfo and are uploaded to that directory.
3. ABC.nfo is renamed to Something.Cool-ABC.nfo since it matches the group suffix (ie. /Blah/Something.Cool-ABC).

odog
07-30-2004, 11:45 AM
would work. but group suffix is kinda hard in many diffrent sections

odog
08-01-2004, 01:37 AM
renaming the nfo file would be enough yes... my bad