commenting

This commit is contained in:
kneutron 2022-11-16 13:59:11 -06:00 committed by GitHub
parent 8fdcc6a7ee
commit 4876b86c49
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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