- πΈπͺSweden Jochen Wendebaum
I assume that nothing has been done to "bulk"ify this? I have several hundreds of sound files as files which I have to move over to "media"...
- π©πͺGermany tfranz
Hi Jochen,
attached my little module β i hope it still works and it will help you β¦- Backup your database β¦ ;-)
- Enable the module
custom_files_to_media
- Visit the page
/admin/config/media/files-to-media
β¦ - β¦ and it should convert every file to a media file β without any further warning.
User of the media-file will be the current user β can be changed in line 27 of the file
/src/Controller/FilesToMediaController.php
There is no batch-processing β i don't know if it will work for hundreds of images β¦Nowadays i would prefer to solve this problem with the sandbox batch functionality in
hook_update_N
.