Hi Support-Team,
I have a bunch of PDF Files (Real Book - Jazz Leadsheets) and want to rename the files to the first words on the PDFs.
There are only the words of the title of the Jazz.Standard / Song on those sheets.
Is this possible with PDF-Tools?
Thanks for help.
Andy
Rename a Batch of files with first word/s of PDF
Moderators: TrackerSupp-Daniel, Tracker Support, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Sean - Tracker, Tracker Supp-Stefan
-
- User
- Posts: 1
- Joined: Sun Oct 01, 2023 7:16 pm
-
- User
- Posts: 41
- Joined: Thu Nov 30, 2017 1:24 pm
Re: Rename a Batch of files with first word/s of PDF
Hello, Andreas Lung.
You can use the 'Find by Regular Expression' action but cannot control how many words you will get using a regular expression.
You can create a regular expression that matches one, two, or more words, but not a dynamic amount. However, it is also possible to limit the character count. Anyway, this approach may not be flexible enough.
It appears that you need to extract the title of your sheet music. Unfortunately, there is no action available for this type of search at the moment.
After you add the 'Find by Regular Expression' action and define the 'Value name' field of action, you can use macro
'%[RegExp:value_name]' in the 'Filename' field of the 'Save Documents' action.
Best regards,
You can use the 'Find by Regular Expression' action but cannot control how many words you will get using a regular expression.
You can create a regular expression that matches one, two, or more words, but not a dynamic amount. However, it is also possible to limit the character count. Anyway, this approach may not be flexible enough.
It appears that you need to extract the title of your sheet music. Unfortunately, there is no action available for this type of search at the moment.
After you add the 'Find by Regular Expression' action and define the 'Value name' field of action, you can use macro
'%[RegExp:value_name]' in the 'Filename' field of the 'Save Documents' action.
Best regards,
Vladimir Goshko
Software Developer
Tracker Software Products
Software Developer
Tracker Software Products