# Rename file using Dat ein file name and custom auto number duplicates

**URL:** <https://resource.dopus.com/t/rename-file-using-dat-ein-file-name-and-custom-auto-number-duplicates/24188>\
**Category:** Help & Support\
**Tags:** script\
**Created:** [November 19, 2016, 6:01am UTC](https://resource.dopus.com/t/rename-file-using-dat-ein-file-name-and-custom-auto-number-duplicates/24188 "2016-11-19T06:01:01Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Leo](https://resource.dopus.com/user_avatar/resource.dopus.com/leo/32/69732_2.png) [@Leo](https://resource.dopus.com/u/Leo)\
**Post date:** [November 19, 2016, 6:45am UTC](https://resource.dopus.com/t/rename-file-using-dat-ein-file-name-and-custom-auto-number-duplicates/24188/2 "2016-11-19T06:45:07Z")

</div>

[Add a Unique Number while renaming](https://resource.dopus.com/t/add-a-unique-number-while-renaming/3900/1) shows another way to do it, where the script checks if a file with the generated name already exists, instead of keeping track of all previously used names itself. (The fileystem does that for you, after all. Also means it lets you rename some files in places which already have other files whose names aren't changing but may conflict.)

---

_[View the full topic](https://resource.dopus.com/t/rename-file-using-dat-ein-file-name-and-custom-auto-number-duplicates/24188)._
