# Renamer UI

**URL:** <https://forum.logik.tv/t/renamer-ui/8987>\
**Category:** Python\
**Tags:** logik-portal\
**Created:** [August 21, 2023, 6:38pm UTC](https://forum.logik.tv/t/renamer-ui/8987 "2023-08-21T18:38:35Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![johnt](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.logik.tv/johnt/32/14040_2.png) [@johnt](https://forum.logik.tv/u/johnt)\
**Post date:** [August 21, 2023, 6:38pm UTC](https://forum.logik.tv/t/renamer-ui/8987/1 "2023-08-21T18:38:35Z")

</div>

Dear @john-geehreng

Would there be any chance of tweaking your wonderful renamer ui script to get rid of illegal characters please? Such as changing spaces to underscores, removing exclamation marks etc?

> **[renamer\_ui.py](https://www.dropbox.com/sh/x5o5bdxn5m6gy9d/AADfAfc_BPphjwnEEvp4B4kca/Scripts/renamer_ui/renamer_ui_v2.0/renamer_ui/renamer_ui.py?dl=0)**
>
> Shared with Dropbox

---

<div class="post-metadata">

**Author:** ![john-geehreng](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.logik.tv/john-geehreng/32/7195_2.png) [@john-geehreng](https://forum.logik.tv/u/john-geehreng)\
**Post date:** [August 21, 2023, 6:56pm UTC](https://forum.logik.tv/t/renamer-ui/8987/2 "2023-08-21T18:56:02Z")

</div>

Hey @johnt

I don’t think there’s much of a chance I’ll revisit that script, but I do have a couple of others that I could combine. That script would remove illegal characters and replace spaces with underscores. Would that work for you?

Once you install it, you can find it in the same place as the Renamer UI script.  
[sanatize\_names.py](https://forum.logik.tv/uploads/short-url/nYZS63GHqc6PSSfZnfkkSIy409O.py) (1.3 KB)

---

<div class="post-metadata">

**Author:** ![johnt](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.logik.tv/johnt/32/14040_2.png) [@johnt](https://forum.logik.tv/u/johnt)\
**Post date:** [September 25, 2023, 8:07am UTC](https://forum.logik.tv/t/renamer-ui/8987/3 "2023-09-25T08:07:33Z")

</div>

@john-geehreng thanks for this script. Works v well.

---

<div class="post-metadata">

**Author:** ![PlaceYourBetts](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.logik.tv/placeyourbetts/32/6852_2.png) [@PlaceYourBetts](https://forum.logik.tv/u/PlaceYourBetts)\
**Post date:** [October 4, 2023, 8:35am UTC](https://forum.logik.tv/t/renamer-ui/8987/4 "2023-10-04T08:35:53Z")

</div>

Has this been uploaded to the portal yet?

---

<div class="post-metadata">

**Author:** ![MikeV](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.logik.tv/mikev/32/399_2.png) [@MikeV](https://forum.logik.tv/u/MikeV)\
**Post date:** [October 4, 2023, 5:13pm UTC](https://forum.logik.tv/t/renamer-ui/8987/5 "2023-10-04T17:13:38Z")

</div>

> [@john-geehreng](#):
>
> remove illegal characters and replace spaces with underscores

Just added it.
