From 4876b86c49d6f3a317a159bff27678c17633e682 Mon Sep 17 00:00:00 2001 From: kneutron <50146127+kneutron@users.noreply.github.com> Date: Wed, 16 Nov 2022 13:59:11 -0600 Subject: [PATCH] commenting --- mount-var-cache-apt-sshfs.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mount-var-cache-apt-sshfs.sh b/mount-var-cache-apt-sshfs.sh index a34b401..1da154a 100644 --- a/mount-var-cache-apt-sshfs.sh +++ b/mount-var-cache-apt-sshfs.sh @@ -7,6 +7,9 @@ function failexit () { exit $1 } +# Proof of concept, mount /var/cache/apt to a networked location with more free space so can DL packages for Debian/derived upgrade +# Useful for raspberry pi SDCARD, other systems you should be able to add another disk (virtual) or use USB external disk + /bin/mv -v /var/cache/apt /var/cache/apt-old mkdir -pv /var/cache/apt @@ -28,7 +31,4 @@ read time rsync -av --remove-source-files --delete-after --max-delete=1 --prune-empty-dirs --progress \ /var/cache/apt-old/* /var/cache/apt/ -#echo "Enter to compress old files (frees up space), or ^C" -#read -#time gzip -rv * ls -alh /var/cache/apt