Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 10-24-2022, 07:13 AM   #1
Pippo53s03
Member
Pippo53s03 began at the beginning.
 
Posts: 19
Karma: 10
Join Date: Apr 2015
Device: Kobo Aura H2O 2ed
Multiple changes in batch

I have to make a lot of corrections to some epubs.
Is it possible to create a list of commands to be executed "in batch"?
for example, I have to change
all "others" to "always",
then all "males and females" to "relatives",
"dogs" to "cats" etc.

thanks in advance.
Pippo53s03 is offline   Reply With Quote
Old 10-24-2022, 07:41 AM   #2
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 28,341
Karma: 203719142
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
You can use an Automate list to perform multiple tasks on individual epubs, but Sigil has no inherent ability to batch process multiple epubs. The instructions for creating/using Automate lists are in the user guide. You can also create saved searches and clips that can be used in Automations.

Last edited by DiapDealer; 10-24-2022 at 07:52 AM.
DiapDealer is offline   Reply With Quote
Advert
Old 10-24-2022, 07:49 AM   #3
BeckyEbook
Guru
BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.
 
BeckyEbook's Avatar
 
Posts: 808
Karma: 2416112
Join Date: Jan 2017
Location: Poland
Device: Various
Personally, I would probably use the "Saved Searches" option. I would create the replacement list with the first file, and with the next EPUB files, I would just run the entire replacement group.
BeckyEbook is offline   Reply With Quote
Old 10-24-2022, 09:40 AM   #4
Pippo53s03
Member
Pippo53s03 began at the beginning.
 
Posts: 19
Karma: 10
Join Date: Apr 2015
Device: Kobo Aura H2O 2ed
Quote:
Originally Posted by DiapDealer View Post
You can use an Automate list to perform multiple tasks on individual epubs, but Sigil has no inherent ability to batch process multiple epubs. The instructions for creating/using Automate lists are in the user guide. You can also create saved searches and clips that can be used in Automations.
Thanks for the suggestions but i can't find how to create the "Automate list" in the user guide.
With which release of Sigil does "Automate list" exist?
In which main menu option?
My inexperience really needs help.
Pippo53s03 is offline   Reply With Quote
Old 10-24-2022, 09:59 AM   #5
Pippo53s03
Member
Pippo53s03 began at the beginning.
 
Posts: 19
Karma: 10
Join Date: Apr 2015
Device: Kobo Aura H2O 2ed
Quote:
Originally Posted by BeckyEbook View Post
Personally, I would probably use the "Saved Searches" option. I would create the replacement list with the first file, and with the next EPUB files, I would just run the entire replacement group.
Thanks for the suggestions, they couldbe really useful for me.
How can I create the "replacement list"?
How can I use my list just created?
Thanks, i'm a really newbie.
Pippo53s03 is offline   Reply With Quote
Advert
Old 10-24-2022, 10:02 AM   #6
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 8,439
Karma: 5702578
Join Date: Nov 2009
Device: many
Automate lists are quite recent. But using older versions of Sigil really gains you nothing and leaves you open to all the bugs that have already been fixed.

So I recommend updating to the very latest version of Sigil (and getting the very latest version of the Sigil User Guide) and reading in the user guide about Saved Searches.

With saved searches you can create a saved search group comprised of a bunch of Find/ReplaceAll searches which can be saved and run as one via a click.

Then using Automate you can make things even more streamlined.
KevinH is offline   Reply With Quote
Old 10-24-2022, 03:43 PM   #7
Tex2002ans
Wizard
Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.
 
Posts: 2,306
Karma: 13057279
Join Date: Jul 2012
Device: Kobo Forma, Nook
Quote:
Originally Posted by Pippo53s03 View Post
Thanks for the suggestions, they couldbe really useful for me.
How can I create the "replacement list"?
How can I use my list just created?
Thanks, i'm a really newbie.
You can go to:
  • Tools > Saved Searches

You then can add a big list of commonly used Find/Replaces:

Code:
Name         | Find                              | Replace
-------------|-----------------------------------|--------------
Fix Italics  | <span style="font-style:italic;"> | <span class="italics">
Fix Bold     | <span style="font-weight:bold;">  | <span class="bold">
[...]
To make it easier, you can also organize them into "Groups".

Why use Groups? Well, another fantastic trick is:

Find/Replace An Entire Group Of Searches In One Press

1. Click on the bold Group name:

Click image for larger version

Name:	Sigil.-.Saved.Searches.-.Groups.png
Views:	116
Size:	15.7 KB
ID:	197345

2. Press "Replace All".

Sigil will now go through and run every single Find/Replace.

You have 12 Find/Replaces in that group?

Sigil will run all 12... one right after the other... doing all those steps in a split second.

Last edited by Tex2002ans; 10-25-2022 at 03:05 PM.
Tex2002ans is offline   Reply With Quote
Old 10-25-2022, 03:29 AM   #8
Pippo53s03
Member
Pippo53s03 began at the beginning.
 
Posts: 19
Karma: 10
Join Date: Apr 2015
Device: Kobo Aura H2O 2ed
Thumbs up

Quote:
Originally Posted by Tex2002ans View Post
You can go to:
  • Tools > Saved Searches
......
Sigil will run all ... one right after the other... doing all those steps in a split second.
Suggestion are clear and simple to follow.
I took a look and I believe that the method corresponds to my needs.
Thank you!
Pippo53s03 is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Multiple Search/Replace as a batch process idf560 Library Management 7 05-22-2020 12:30 AM
Batch remove multiple covers? johnb0647 Library Management 2 12-08-2018 01:44 AM
Multiple libraries on portable device run from multiple computers amagrace Library Management 7 10-31-2018 12:00 AM
Is there a way to batch edit multiple epub css? stevenam ePub 10 12-30-2016 03:40 AM
How to batch add books stored in multiple zip files? atkach Library Management 3 10-12-2014 01:39 PM


All times are GMT -4. The time now is 12:40 PM.


MobileRead.com is a privately owned, operated and funded community.