|CLEAN-OLD-DISTFILES(1)||General Commands Manual||CLEAN-OLD-DISTFILES(1)|
remove obsolete ports distfiles
Each time dpb(1) is run for a full scan of the ports(7) tree, it appends to the history log, listing files in the distfiles directory that are not, or no longer, needed for building the complete tree. It can also be run solely for that purpose, by using:
clean-old-distfiles is run later, it
uses the information from the history log to delete unneeded files. When a
file is deleted, the corresponding entry is also deleted from the history
all files listed in the history log. If a timestamp is
given, it is interpreted as a number of seconds since the Epoch, similar to
-r argument, and only those files are deleted that
were recorded as obsolete at that time or earlier.
For normal files,
verifies sha256(1) checksums
prior to removal. It also removes links under
by_cipher/sha256, but it trusts that the checksums
for these are accurate.
Options are as follows:
-nv, as this is a testing option.
rm file’ lines.
|April 24, 2020||OpenBSD-6.7|