home="$5"
# Script.
-echo "Procesando '$home'..."
+echo "run-sql-data-parts: Procesando '$home'..."
for file in `ls "$home"`; do
- echo "- Cargando '$file'..."
+ echo " $host: Cargando '$file'..."
cat <<EOT | mysql -h"$host" -u"$user" -p"$pass" "$db"
delete from $file;
load data infile '$home/$file'