HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

mh_copyright — Adjust copyright headers for MATLAB or Octave code. More information: <https://florianschanda.github

Submitted by: @import:tldr-pages··
0
Viewed 0 times
commandmh_copyrightmatlabheadersclicopyrightadjustfor

Problem

How to use the mh_copyright command: Adjust copyright headers for MATLAB or Octave code. More information: <https://florianschanda.github.io/miss_hit/copyright.html>.

Solution

mh_copyright — Adjust copyright headers for MATLAB or Octave code. More information: <https://florianschanda.github.io/miss_hit/copyright.html>.

Update the year (range) to include the current year for the specified files:
mh_copyright --primary-entity="{{entity}}" --update-year {{path/to/file_or_directory1.m path/to/file_or_director2.m ...}}


Update the year (range) to include the current year for all files:
mh_copyright --primary-entity="{{entity}}" --update-year

Code Snippets

Update the year (range) to include the current year for the specified files

mh_copyright --primary-entity="{{entity}}" --update-year {{path/to/file_or_directory1.m path/to/file_or_director2.m ...}}

Update the year (range) to include the current year for all files

mh_copyright --primary-entity="{{entity}}" --update-year

Context

tldr-pages: common/mh_copyright

Revisions (0)

No revisions yet.