bepasty-object(1)
β¨ NAME β¨
bepasty-object β the little tool that manages the objects your bepasty storage is holding π
(it lives in the General Commands Manual section, if you were wondering, bestie π)
πΈ SYNOPSIS πΈ
bepasty-object [-h] [--config CONFIG]
{ migrate,purge,consistency,info,set} ... NAME [NAME ...]
okay so that {migrate,purge,consistency,info,set} thing is your subcommand menu, and then you hand it one or more NAMEs. That's it, that's the shape of it π
π¦ DESCRIPTION π¦
bepasty-object does stuff to the objects stored in the bepasty storage. Migrating them, purging them, checking them, peeking at them, flagging them β it's giving caretaker energy fr fr π§
Every single command needs one of two things:
- a
--config <configfilename>argument, or - the
BEPASTY_CONFIGenvironment variable pointing at your configuration file β¨
Like, it cannot read your mind, it needs to know where the config lives. No config, no vibes. periodt.
π OPTIONS π
-h,--helpβ show this help message and exit. iconic behaviour, honestly π--config CONFIGβ the bepasty configuration file π
π COMMANDS π
migrate
Migrate an object to the current metadata schema β this is your bestie for when you've done a bepasty upgrade. π
Run it like:
bepasty-object migrate '*'
Note: the'*'needs to be quoted with single-quotes so the shell does not expand it. It's the thing that tells the command to operate on all names in the storage. (You could also give some specific names instead of'*', if you're feeling selective π)
purge
Purge objects from the database. Multiple conditions are ANDed together β so yeah, they all gotta be true at once, no cap.
-D,--dry-runβ do not remove anything, just display what would happen. a lil sneak peek, a rehearsal, zero consequences πΈ-A PURGE_AGE,--age PURGE_AGEβ only remove if upload is older thanPURGE_AGEdays-I PURGE_INACTIVITY,--inactivity PURGE_INACTIVITYβ only remove if the latest download is older thanPURGE_INACTIVITYdays-S PURGE_SIZE,--size PURGE_SIZEβ only remove if file size is >PURGE_SIZEMiB-T PURGE_TYPE,--type PURGE_TYPEβ only remove if the file mimetype starts withPURGE_TYPE
consistency
Run consistency checks. the vibe check for your files, basically π₯
-C,--computeβ compute missing hashes and write them into the metadata-F,--fixβ write computed hash/size into the metadata-R,--removeβ remove files with inconsistent hash/size β οΈ
info
Display information about objects. just, like, looking at them. respectfully π
set
Set flags on objects.
-L,--lock-l,--unlock-C,--incomplete-c,--complete
π ENVIRONMENT π
BEPASTY_CONFIGβ absolute path to a bepasty configuration file β¨
π SEE ALSO π
- Bepasty documentation <https://bepasty-server.readthedocs.io/en/latest/>
and that's the whole page, bestie π«Ά it's bepasty-object(1) from the General Commands Manual, and that footer π β it's just that same bepasty-object(1) tag signing off at the bottom, cute little bow on the box π mwah, go forth and manage your objects β¨
π¦ where this page comes from
- ubuntu stonking: bepasty 1.2.2-3 Β· BSD-2-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms