Skip to content
Snippets Groups Projects
import.sh 143 B
Newer Older
Pierre Ozoux's avatar
Pierre Ozoux committed
#!/bin/bash -eux

if [ -d /data/import/$DOMAIN ]; then
  cp -r /data/import/$DOMAIN/* /data/domains/$DOMAIN;
  rm -rf /data/import/$DOMAIN;
fi