BEPASTY_CONFIG
Absolute path to a bepasty configuration file
Manage objects stored by bepasty
bepasty-object operates on objects stored in the bepasty storage.
All commands expect either a --config <configfilename> argument or that the BEPASTY_CONFIG environment variable points to your configuration file.
-h, --help
show this help message and exit
--config CONFIGbepasty configuration file
migrate object to the current metadata schema, in case of a bebasty upgrade.
Run as:
bepasty-object migrate '*'
Note: the ‘*’ needs to be quoted with single-quotes so the shell does not expand it. it tells the command to operate on all names in the storage (you could also give some specific names instead of ‘*’).
Purge objects from the database; multiple conditions are ANDed together.
-D, --dry-run
do not remove anything, just display what would happen
-A PURGE_AGE, --age PURGE_AGEonly remove if upload older than PURGE_AGE days
-I PURGE_INACTIVITY, --inactivity PURGE_INACTIVITYonly remove if latest download older than PURGE_INACTIVITY days
-S PURGE_SIZE, --size PURGE_SIZEonly remove if file size > PURGE_SIZE MiB
-T PURGE_TYPE, --type PURGE_TYPEonly remove if file mimetype starts with PURGE_TYPE
Run consistency checks.
-C, --compute
compute missing hashes and write into metadata
-F, --fix
write computed hash/size into metadata
-R, --remove
remove files with inconsistent hash/size
Display information about objects.
Set flags on objects.
-L, --lock -l, --unlock -C, --incomplete -c, --complete
BEPASTY_CONFIG
Absolute path to a bepasty configuration file