description = """List FlexBuff/Mark6 recording details, much like ls(1), allowing for filtering and/or sorting by size and/or time. In addition %(prog)s can accumulate totals (sizes) per pattern, e.g. to compute total size per experiment. By default vbs_ls searches the FlexBuff mountpoints for recordings. Using the '-6' flag and/or the '-R' argument (see below) the search path may be altered. Shell-style wildcards on the -R arguments are supported.
# SimonC: "KeyError: 'getpwuid(): uid not found: 5000' If the user id doesn't exist"
try: return resolver(num)
except: return num
getpwuid = lookup_or_bust(pwd.getpwuid)
getgrgid = lookup_or_bust(grp.getgrgid)
# Keep per vbs scattered recording totals in this object