voxel51 / eta

ETA: Extensible Toolkit for Analytics
https://voxel51.com
Apache License 2.0
29 stars 13 forks source link

Updating copyrights #576

Closed brimoor closed 1 year ago

brimoor commented 1 year ago

Leaving this for mac users in 2024 😄

Update copyrights:

find . \
    -type d \( \
        -path '**/.*' \
    \) -prune -o \
    -type f \( \
        -name "*.py" -o \
        -name "*.md" -o \
        -name '*.bash' -o \
        -name '*.ts' -o \
        -name '*.tsx' -o \
        -name '*.rst' -o \
        -name '*.txt' \
    \) \
    -exec sed -i '' 's/Copyright 2017-2022/Copyright 2017-2023/g' {} +

Check work:

find . \
    -type d \( \
        -path '**/.*' \
    \) -prune -o \
    -type f \( \
        -name "*.py" -o \
        -name "*.md" -o \
        -name '*.bash' -o \
        -name '*.ts' -o \
        -name '*.tsx' -o \
        -name '*.rst' -o \
        -name '*.txt' \
    \) \
    -print | xargs grep 2022