2 Commits

Author SHA1 Message Date
Ian Leonard
d4c3092e7a download-cleaner: be non-interactive while deleting
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2021-10-17 21:58:52 +00:00
Ian Leonard
5780d2a58a tools/download-cleaner: add new tool
This script selectively deletes files out of the specified download
directory to prune source tarballs that don't correspond with the
current version of its package in the tree according to the set
PROJECT, DEVICE and ARCH.

The script is also capable of building a new SOURCES dir to combine
different combinations of PROJECT, DEVICE and ARCH tarballs. This is
to move out known good tarballs to a new directory, and to delete the
old SOURCES dir once all desired tarballs have been moved.

Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2021-01-18 19:42:24 +00:00