du_entries#

barecat.cli.commands.du_entries(index, path='', all_files=False, summarize=False, human_readable=False, max_depth=None, output=print)[source]#

Show disk usage.

Parameters:
  • index – Barecat index

  • path (str) – Starting path

  • all_files (bool) – Show all files (-a)

  • summarize (bool) – Show only total (-s)

  • human_readable (bool) – Human readable sizes (-H)

  • max_depth (Optional[int]) – Maximum depth (-d)

  • output (Callable[[str], None]) – Function to output each line