Browse Source

fixed the migrate script

Bachir Soussi Chiadmi 4 years ago
parent
commit
3c329e3c63
1 changed files with 10 additions and 6 deletions
  1. 10 6
      migrate-from-d7.sh

+ 10 - 6
migrate-from-d7.sh

@@ -1,11 +1,15 @@
 #! /bin/bash
-echo "* * * * * * * * * * * * * * * *"
-echo "*                             *"
-echo "*         Migration           *"
-echo "*                             *"
-echo "* * * * * * * * * * * * * * * *"
 
-# drush ms --group=d7_materio
+export PATH=$Path:/bin:/usr/bin:/usr/local/bin
+DATE=`date +%d-%m-%y/%H:%M:%S`
+
+echo -e "* * * * * * * * * * * * * * * *"
+echo -e "*                             *"
+echo -e "*         Migration           *"
+echo -e "*                             *"
+echo -e "* $DATE           *"
+echo -e "*                             *"
+echo -e "* * * * * * * * * * * * * * * *"
 
 echo " "
 echo "Migrating Files"