#!/usr/bin/env bash if [ ! -d "backup" ]; then mkdir backup fi if [ -f "jx-callback.*~" ]; then mv jx-callback.*~ backup/ fi