bsnes/ananke/phoenix/sync.sh

10 lines
141 B
Bash

synchronize() {
if [ -d ../"$1" ]; then
test -d "$1" && rm -r "$1"
cp -r ../"$1" ./"$1"
fi
}
synchronize "nall"
rm -r nall/test