#!/bin/sh # # Copyright 2020 PingCAP, Inc. Licensed under Apache-2.0. set -eu if [ -f "$1" ]; then echo "[$(date)] File $1 already exists." && exit 1 fi