View Single Post
Old 10-12-2011, 11:16 AM   #2
Starson17
Wizard
Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.
 
Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
Quote:
Originally Posted by nynaevelan View Post
All I want to do is when adding the book to calibre to insert the current filename into a custom field so that when I save these same files back to the disk they will be renamed with their original Amazon filename along with the author and title from calibre. Is something like this possible for a regex dummy like me, my custom field name is #filename??
No, it's not possible, at least not easily based on your sig. However:

1) You'll have to turn off read metadata from file contents in Preferences Adding Books to get access to the filename (unless it's in the book metadata already).
2) You'll see there a list of standard fields you can send data into. You can't send data from the filename directly into a custom field.
3) You could send the complete filename into one of those standard fields, but that will interfere with sending the correct title/author into their fields
4) If you send the complete filename into a field, you can fix 3) by doing a search and replace to parse out the metadata you need from the field with the filename. While doing that S&R, you can send the filename into your custom field.

That's how I'd approach it.

Last edited by Starson17; 10-12-2011 at 11:18 AM.
Starson17 is offline   Reply With Quote