# Bestanden hernoemen

**URL:** <https://meta.discourse.org/t/renaming-uploaded-files/172854>\
**Category:** Product Support\
**Created:** [10 december 2020 om 12:59 UTC](https://meta.discourse.org/t/renaming-uploaded-files/172854 "2020-12-10T12:59:06Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![robbie.morrison](https://avatars.discourse-cdn.com/v4/letter/r/c5a1d2/32.png) [@robbie.morrison](https://meta.discourse.org/u/robbie.morrison)\
**Post date:** [10 december 2020 om 12:59 UTC](https://meta.discourse.org/t/renaming-uploaded-files/172854/1 "2020-12-10T12:59:07Z")

</div>

I have recently been uploading PDF files of academic presentations (to [this topic](https://forum.openmod-initiative.org/t/2330/2) on seasonal climate forecasting as it happens).

The file naming convention I utilize is:

- `0000-leadauthor-[etal-]title-title-title.pdf`

So far so good. Until I discover I that I have a lead author’s name wrong. But when I try to upload the same file under a corrected file name, discourse notices that the file is otherwise identical — I guess there is some hashing going on here— and supplies a reference to the original file instead, with the file name unchanged and still incorrect.

My work around is to alter the following setting to `1` (the default is `48`), remove all references in the markup, and wait until the resulting file expunging has occurred:

- `Settings > Files > clean orphan uploads grace period hours`

I also tried setting this particular parameter to `0` but that did not seem to work. In which case, the tool tip might better be modified to read: “To disable the grace period set to 0”. Or alternatively as appropriate: “To enable near immediate effect set to 0”.

I cannot tell how often this kind of maintenance is actually run but I was presuming hourly? Maybe it is daily instead? That would be useful to know too.

TIA for any assistance about how to speed up this file renaming process! I do have a work around but it is rather clumsy and slow.

 ![discourse-expunge-stale-report.screenshot-20201210t123650z](https://global.discourse-cdn.com/meta/original/3X/9/a/9a7cc604f652178a575941834b994f4b816ff4b9.png)

---

_[View the full topic](https://meta.discourse.org/t/renaming-uploaded-files/172854)._
