Difference between revisions of "Projects:Setting up the wiki"

From Wicri pool V1.31 Démo.Istex
Line 16: Line 16:
 
php maintenance/dumpUploads.php | xargs tar cf ../FTP/poolImages.tar
 
php maintenance/dumpUploads.php | xargs tar cf ../FTP/poolImages.tar
 
</source>
 
</source>
 +
cp  -r images/0 ../FTP/0
 +
tar cvf 0.tar 0
 +
 +
  2073  wget http://ticri.univ-lorraine.fr/Wicri/Wicri/FTP/0.tar
 +
2074  tar -xvf 0.tar
 +
2075  ls 0
 +
2076  ls 0/00
 +
2077  mkdir files0
 +
2078  cp 0/*/* files0/.
 +
2079  ls files0
 +
2080  cd ..
 +
2081  cd pool/
 +
2082  sudo php maintenance/importImages.php ../FTP/files0
 +
2083  sudo chown -R www-data images/*
 +
2084  history

Revision as of 00:44, 6 July 2017

Moving the wiki

WIKI=http://ticri.univ-lorraine.fr/wicri.pool
WIKI_TARGET=https://lorexplor.istex.fr/Wicri/Wicri/pool
  • Templates : done
  • Categories : done
Namespace file
php dumpBackup.php --current --filter=namespace:6 > ../../FTP/poolFiles.xml
Images

Sous /pool

php maintenance/dumpUploads.php | xargs tar cf ../FTP/poolImages.tar
cp  -r images/0 ../FTP/0
tar cvf 0.tar 0
 2073  wget http://ticri.univ-lorraine.fr/Wicri/Wicri/FTP/0.tar
2074  tar -xvf 0.tar 
2075  ls 0
2076  ls 0/00
2077  mkdir files0
2078  cp 0/*/* files0/.
2079  ls files0
2080  cd ..
2081  cd pool/
2082  sudo php maintenance/importImages.php ../FTP/files0
2083  sudo chown -R www-data images/*
2084  history