Console, Batch upload; Additional parameter in the console to deal with duplicate files import
- Status
- Open
- Subject
- Console, Batch upload; Additional parameter in the console to deal with duplicate files import
- Version
- 25.x
- Category
- Feature request
- Feature
- Console / Command Line
File Gallery (elFinder or standard UI) - Resolution status
- New
- Submitted by
- Bernard Sfez / Tiki Specialist
- Lastmod by
- Bernard Sfez / Tiki Specialist
- Rating
- Related-to
- Description
Using the batchupload command on the console it should be possible to set what to do when there is a duplicate file detected, when you upload a file with the same name than a file that is already in the file gallery.
--duplicatedFileReplacesPrevious
To replace the file with the new one and delete the previous.--duplicatedFileIgnored
To Ignore new one if a file with the same name is already there.
It seems it should be the default, but it is not applied (tested on Tiki22, 23 and 24)Additionally the process allow a file gallery to be created if it doesn't exist;
--createSubgals
Providing the value for "Maximum number of archives for each file" in newly created file gallery.--createdSubgalMaxNumArchives=1- Importance
- 6
- Easy to solve?
- 5
- Priority
- 30
- Demonstrate Bug on Tiki 19+
-
This bug has been demonstrated on show2.tiki.org
Please demonstrate your bug on show2.tiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show2.tiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Demonstrate Bug (older Tiki versions)
-
This bug has been demonstrated on show.tikiwiki.org
Please demonstrate your bug on show.tikiwiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show.tikiwiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Ticket ID
- 7598
- Created
- Sunday 08 November, 2020 12:58:40 UTC
by Bernard Sfez / Tiki Specialist - LastModif
- Tuesday 23 August, 2022 12:38:45 UTC