bin404-cleanup

command
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 4, 2024 License: GPL-3.0 Imports: 2 Imported by: 0

README

bin404-cleanup

When files expire, access is disabled immediately, but the files and metadata will persist on disk until someone attempts to access them.

If you'd like to automatically clean up files that have expired, you can use the included bin404-cleanup utility. To run it automatically, use a cronjob or similar type of scheduled task.

You should be careful to ensure that only one instance of bin404-cleanup runs at a time to avoid unexpected behavior. It does not implement any type of locking.

Option Description
-filespath files/ Path to stored uploads (default is files/)
-nologs (optionally) disable deletion logs in stdout
-metapath meta/ Path to stored information about uploads (default is meta/)

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL