# mh_copyright > 调整 MATLAB 或 Octave 代码的版权头。 > 更多信息:。 - 更新指定文件的年份(范围),以包括当前年份: `mh_copyright --primary-entity="{{entity}}" --update-year {{path/to/file_or_directory1.m path/to/file_or_director2.m ...}}` - 更新所有文件的年份(范围),以包括当前年份: `mh_copyright --primary-entity="{{entity}}" --update-year`