A while back, I added a line to postmirror.sh
(after the line with clean.sh
like this)
find /[mirror]/mirror/ -mmin -60 | grep "pool" | sort | tee /home/[username]/mirror/mirror-$_now.txt
Each time apt-mirror runs, it writes the output into the apt-mirror.log and creates a file in the /mirror directory of my home directory with contents like this:
/[mirror]/mirror/dl.google.com/linux/chrome/deb/pool/main/g/google-chrome-unstable
/[mirror]/mirror/us.archive.ubuntu.com/ubuntu/pool/main/l/linux-firmware
/[mirror]mirror/us.archive.ubuntu.com/ubuntu/pool/main/l/linux-meta-hwe-5.11
/[mirror]/mirror/us.archive.ubuntu.com/ubuntu/pool/main/l/linux-meta-oem-5.14
/[mirror]/mirror/us.archive.ubuntu.com/ubuntu/pool/main/l/linux-oem-5.14
/[mirror]/mirror/us.archive.ubuntu.com/ubuntu/pool/main/l/linux-signed-oem-5.14
/[mirror]/mirror/us.archive.ubuntu.com/ubuntu/pool/restricted/l/linux-restricted-modules-hwe-5.11
/[mirror]/mirror/us.archive.ubuntu.com/ubuntu/pool/restricted/l/linux-restricted-modules-oem-5.14
/[mirror]/mirror/us.archive.ubuntu.com/ubuntu/pool/restricted/l/linux-restricted-signatures-oem-5.14
/[mirror]/mirror/us.archive.ubuntu.com/ubuntu/pool/universe/h/htmldoc
My desire was to get it to list individual .debs
but I haven't been able to make that work using this approach, perhaps because those files have timestamps much further in the past.