# How to autotag ORIGYEAR into YEAR field? If not exist \> oldest release date

**URL:** https://community.mp3tag.de/t/how-to-autotag-origyear-into-year-field-if-not-exist-oldest-release-date/41003
**Category:** Support
**Created:** [March 9, 2018, 11:20am UTC](https://community.mp3tag.de/t/how-to-autotag-origyear-into-year-field-if-not-exist-oldest-release-date/41003 "2018-03-09T11:20:17Z")
**Posts on this page:** 1
**Showing post:** 3

<div class="post-metadata">

### Author: ![Florian](https://community.mp3tag.de/user_avatar/community.mp3tag.de/florian/32/5759_2.png) [@Florian](https://community.mp3tag.de/u/Florian)
#### Post date: [March 9, 2018, 3:16pm UTC](https://community.mp3tag.de/t/how-to-autotag-origyear-into-year-field-if-not-exist-oldest-release-date/41003/3 "2018-03-09T15:16:45Z")

</div>

> [@bascurtiz](#):
>
> Anyone has a clue how to approach this with MP3tag?

Based on the link you've posted above, I think this entry from the FAQ is what you're looking for:

> [@Actions and batch-operations](https://community.mp3tag.de/t/actions-and-batch-operations/967/15):
>
> How to copy one field value to another field? Example how to copy the content of the ARTIST field to the ALBUMARTIST field: Create a [new action](https://community.mp3tag.de/t/actions/967/2) in an existing action group or make a new action group. Action type: Format value Field: ALBUMARTIST Format string: %artist% Note: If you want to copy all possible values of a field (in case you have multiple artist fields), the internal scripting function [$meta\_sep](https://docs.mp3tag.de/scripting) can be used in the format string, e.g., $meta\_sep(artist,\\\\)

If you only want to copy the `ORIGYEAR` field, if it actually exists in the file and preserve the `YEAR` field otherwise, you can use

`$if2(%origyear%,%year%)`

---

_[View the full topic](https://community.mp3tag.de/t/how-to-autotag-origyear-into-year-field-if-not-exist-oldest-release-date/41003)._
