summaryrefslogtreecommitdiffstats
path: root/r_handler
blob: 33876e21ac61fab7ca31ed6a276e0c1d11d6c462 (plain)
1
2
3
4
5
6
7
8
9
10
#!/bin/zsh

src="$1"
dest=$2

if [[ ! -d $dest ]];then
    exit 1
fi

mv -u "$src" "$dest" || exit 1