source "$FEISTY_MEOW_SCRIPTS/core/launch_feisty_meow.sh"
+# the archive directories will be known by their odd naming, which starts with the below.
+ARCHIVE_DIR_PREFIX="z_arch"
+
function grab_archies()
{
local domain_piece="$1"; shift
for host in $host_list; do
mkdir -p ${host}.${domain_piece}
pushd ${host}.${domain_piece}
- netcp ${host}.${domain_piece}:z_arch* .
+ netcp ${host}.${domain_piece}:${ARCHIVE_DIR_PREFIX}* .
retval=$?
if [ $retval -ne 0 ]; then
- echo "Error $retval returned from copying z_arch* from ${host}.${domain_piece}"
+ echo "Error $retval returned from copying ${ARCHIVE_DIR_PREFIX}* from ${host}.${domain_piece}"
popd
continue
fi