file_replace
9,156 sites
Security covered
The file replace module is a small utility providing site administrators with the possibility to replace files, keeping the file uri intact. This is useful in cases where a file is linked or used directly but needs to be updated occasionally.
Installation and usage
Install the module as you would any contrib module, preferably with composer:
composer require drupal/file_replace
The module currently only provides a 'Replace' page for files. You will need to manually add links to the file overview page. Simply adding a global text field with a link like the following would work fine:
admin/content/files/replace/{{ fid }}