#!/usr/bin/env bash if [ ! -d "backup" ]; then mkdir backup fi if ls jx-callback.*~ > /dev/null 2>&1; then mv jx-callback.*~ backup/ fi