3 # simply bumps the year in all copyright and header files to the latest one
5 # WARNING: This script will run over ALL files regardless if they are text
6 # or binary files and search for the copyright notice and replace it
7 # immediately. So you need to be aware of that
12 # walk through the whole directory this script is called in and search
13 # for files which we will try to update the Copyright notice
14 find . \
( -not -path "*/.svn/*" -not -name "update_copyright.sh" \
) -type f \
15 -exec sed -i "s/Copyright.*(C).*2001-.*NList Open Source Team/Copyright (C) 2001-${YEAR} NList Open Source Team/g" {} \
;