]> git.p6c8.net - jirafeau_project.git/blob - migrate.sh
modularization step 1 - add easy to move files
[jirafeau_project.git] / migrate.sh
1 #!/usr/bin/env bash
2 uploadfolder = "$1"
3 if [[ "$uploadfolder" == "" ]]; then
4 echo "Need uploadfolder for migration"
5 echo "Look into lib/conifg.local.php for info"
6 exit 1
7 fi
8 if [[ ! -d $uploadfolder ]]; then
9 echo "Uploadfolder $uploadfolder does not exist."
10 exit 1
11 fi
12 mkdir $uploadfolder/local
13 echo "migration done"

patrick-canterino.de