

#using apt-get and dpkg
#don't need to run apt-get update, unless you've changed sources. we do it once at start of netcustomization
#just updating one package
groovix-auto-apt-get install groovix-util
#updates
groovix-auto-apt-get dist-upgrade

########################################################################

########################################################################

#getting files 
gncget --mod 755 /usr/bin/new_file.bash

########################################################################

allowing errors in just one section with --abort:
set +e
rm /var/log/maybe_old_file
set -e
########################################################################

########################################################################
getting a whole directory:
tar it up first on client, making sure the file permissions are correct: ( usually chown -R root.root basepath/ )
cd /path/parent-dir/
tar cvzf HCL.tgz HCL/

gncget --tgz /path/parent-dir/HCL
