--- /dev/null
+#!/bin/sh
+#
+# Script para cargar bases de datos.
+#
+# Creado por Leandro Lucarella (llucar) el miƩ ene 22 17:57:00 ART 2003
+#
+
+# ConfiguraciĆ³n.
+home="$1"
+datos="$2"
+host="bal747f"
+user="intranet"
+pass="intranet"
+db="novedades"
+
+# Script.
+/bin/run-parts \
+ --lsbsysinit \
+ --verbose \
+ --arg="$host" \
+ --arg="$user" \
+ --arg="$pass" \
+ --arg="$db" \
+ --arg="$home" \
+ --arg="$datos" \
+ "$home/scripts"
--- /dev/null
+#!/bin/sh
+host="$1"
+user="$2"
+pass="$3"
+db="$4"
+home="$5"
+datos="$6"
+
+scp -r "$datos"/* novedades@"$host":"$datos"
+ssh -n novedades@"$host" chmod -v 775 "$datos"
+ssh -n novedades@"$host" chmod -vR 664 "$datos"/*
--- /dev/null
+#!/bin/sh
+host="$1"
+user="$2"
+pass="$3"
+db="$4"
+home="$5"
+datos="$6"
+
+"$home/../../run-sql-data-parts" "$host" "$user" "$pass" "$db" "$datos"