logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

bepasty-object - Manage objects stored by bepasty

Commands

migrate
       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
       Purge objects from the database; multiple conditions are ANDed together.

       -D, --dry-run
              do not remove anything, just display what would happen

       -APURGE_AGE, --agePURGE_AGE
              only remove if upload older than PURGE_AGE days

       -IPURGE_INACTIVITY, --inactivityPURGE_INACTIVITY
              only remove if latest download older than PURGE_INACTIVITY days

       -SPURGE_SIZE, --sizePURGE_SIZE
              only remove if file size > PURGE_SIZE MiB

       -TPURGE_TYPE, --typePURGE_TYPE
              only remove if file mimetype starts with PURGE_TYPE

   consistency
       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

   info
       Display information about objects.

   set
       Set flags on objects.

       -L, --lock -l, --unlock -C, --incomplete -c, --complete

Description

       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.

Environment

BEPASTY_CONFIG
              Absolute path to a bepasty configuration file

Name

       bepasty-object - Manage objects stored by bepasty

Options

-h, --help
              show this help message and exit

       --configCONFIG
              bepasty configuration file

See Also

BepastydocumentationBEPASTY-OBJECT(1)

Synopsis

          bepasty-object [-h] [--config CONFIG] {migrate,purge,consistency,info,set} ... NAME [NAME ...]

See Also