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