01-14-2021, 02:40 PM | #1 |
Guru
Posts: 935
Karma: 1177583
Join Date: Dec 2016
Location: Goiânia - Brazil
Device: iPad, Kindle Paperwhite
|
Bulk renaming files
Hi Kovid,
When renaming multiple files on the Editor, it throws an error if some of the files has the same name as before. Can't calibre just ignore this? Example: Original: Code:
file001.html file003.html file003a.html file004.html file008.hmtl Code:
file001.html file002.html file003.html file004.html file005.hmtl |
01-14-2021, 03:28 PM | #2 | |
Bibliophagist
Posts: 35,654
Karma: 145557716
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Forma, Clara HD, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Quote:
Code:
file001.html file002.html file004.html file003.html file005.html file006.hmtl |
|
Advert | |
|
01-14-2021, 10:50 PM | #3 |
creator of calibre
Posts: 43,892
Karma: 22666668
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Because it doesnt know ifthe name conflict is ok or accidental.
|
01-15-2021, 09:55 AM | #4 | ||
Guru
Posts: 935
Karma: 1177583
Join Date: Dec 2016
Location: Goiânia - Brazil
Device: iPad, Kindle Paperwhite
|
Quote:
Quote:
1) User selects all the files he wants renamed 2) Then, the user explicitly tell the Editor to rename then (right-clicking and choosing this option) 3) A window pops-up and he choose the prefix and starting number 4) Only then the renaming occurs Is this possible to happen accidentally? I wonder how the user could not mean all the files to be renamed. Maybe, a confirmation dialog could be added in case of identical names appearing. Last edited by thiago.eec; 01-15-2021 at 07:59 PM. |
||
01-15-2021, 01:31 PM | #5 |
Bibliophagist
Posts: 35,654
Karma: 145557716
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Forma, Clara HD, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
To you it may be unnecessary. To the operating system, having two files with the same name in the same directory is going to be an issue so renaming a file to the name of an existing file in the same directory is not going to fly.
|
Advert | |
|
01-15-2021, 08:07 PM | #6 | |
Guru
Posts: 935
Karma: 1177583
Join Date: Dec 2016
Location: Goiânia - Brazil
Device: iPad, Kindle Paperwhite
|
Quote:
Now, about the original question, I think you've got me wrong. What I was suggesting is that calibre could handle this, instead of the user having to do it manually, renaming twice. As I said on my last reply, I don't think the user would rename it accidentally, so calibre could aloud it. |
|
01-15-2021, 08:21 PM | #7 |
Fanatic
Posts: 516
Karma: 32106
Join Date: Feb 2012
Device: Onyx Boox Leaf
|
I think it can't be done accidentally. Even if it is the case, it can be undone easily.
|
01-15-2021, 09:03 PM | #8 |
creator of calibre
Posts: 43,892
Karma: 22666668
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
The renaming doesnt happen accidentally, obviously. The *name conflict* could happen accidentally, i.e. the user may not realize that his or her new naming scheme is conflicting with existing file names.
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Renaming files | victormpalma | Library Management | 1 | 07-14-2020 09:55 AM |
Bulk renaming of titles? | jukin | Calibre | 3 | 04-24-2013 11:04 PM |
Bulk Renaming | OklahomaMike | Library Management | 1 | 01-20-2013 10:21 PM |
Renaming files in bulk | ElMiko | Sigil | 12 | 02-15-2012 10:38 AM |
Renaming files | col | Sony Reader | 29 | 06-29-2007 10:10 AM |