Find all files in the current directory tree whose names end with the suffix ".keep.$1", where $1 is the first command line argument, and remove that suffix
find . -type f -name "*.keep.$1" -print0 | xargs -0 rename "s/\.keep\.$1$//"