Rozdiely pre Metafox/sql/dump/make-dump.sh medzi verziami 1.2 a 1.3
verzia 1.2, 2005/06/10 15:22:59 |
verzia 1.3, 2005/08/13 23:06:49 |
|
|
#!/bin/sh |
#!/bin/sh |
|
|
# |
# |
# phpMyEzin - e-zin content management system |
# Metafox - enterprise content management system |
# |
# |
# _sql/dump/make-dump.sh - creates initial SQL dump |
# _sql/dump/make-dump.sh - creates initial SQL dump |
# ____________________________________________________________ |
# ____________________________________________________________ |
|
|
# See COPYING file for license information. |
# See COPYING file for license information. |
# |
# |
# Download the latest version from |
# Download the latest version from |
# http://platon.sk/projects/phpMyEzin/ |
# http://platon.sk/projects/Metafox/ |
# |
# |
|
|
# $Platon: Metafox/sql/dump/make-dump.sh,v 1.1 2005/06/05 12:15:35 nepto Exp $ |
# $Platon: Metafox/sql/dump/make-dump.sh,v 1.2 2005/06/10 15:22:59 nepto Exp $ |
|
|
mysqldump --compatible=mysql323 --add-drop-table -d phpmyezin > mysql.sql |
mysqldump --compatible=mysql323 --add-drop-table -d phpmyezin > mysql.sql |
grep '^DROP TABLE' mysql.sql | sed 's/^.*\(ezin_[a-z_]\+\).*$/\1/g' > table-list.txt |
grep '^DROP TABLE' mysql.sql | sed 's/^.*\(ezin_[a-z_]\+\).*$/\1/g' > table-list.txt |
Platon Group <platon@platon.sk> http://platon.sk/
|
|