How To Preserve Metadata When Converting Files with ffmpeg

ffmpeg -i my-audio-file.flac -movflags use_metadata_tags my-audio-file.m4a

References