dae/hack/maintenance/extend_license_signature_period.sh
2024-01-04 17:28:16 +08:00

5 lines
256 B
Bash

#!/bin/bash
rg -F 'Copyright (c) 2022-2023' --files-with-matches . | xargs sed -i 's/Copyright (c) 2022-2023/Copyright (c) 2022-2024'/g
rg -F 'Copyright (c) 2023' --files-with-matches . | xargs sed -i 's/Copyright (c) 2022-2023/Copyright (c) 2022-2024'/g