bup-ls(1)
π bup-ls(1) β the "what's even IN here" command π
okay bestie, welcome to the General Commands Manual for bup-ls, aka the little icon that lets you peek inside your bup repository π
β¨ NAME β¨
bup-ls β list the contents of a bup repository π¦
πΈ SYNOPSIS πΈ
bup ls [-r host:[path]] [OPTION...] <paths...>
π DESCRIPTION π
so like, bup ls lists the files and directories chillin' in your bup repository, and it uses the exact same directory hierarchy you'd get with bup-fuse(1). same vibes, different command π
The top level directory contains the branch (this is the one that corresponds to the -n option in bup save), the next level down is the date of the backup, and every level after that corresponds to files in the backup. it's giving tree structure, fr fr π³
When bup ls is asked to output on a tty, and -l is not specified, it formats the output in columns so it can list as much as possible in as few lines as possible. cute and efficient β¨ BUT β when -l is specified, or when bup is asked to output to something that isn't a tty (say you pipe the output to another command, or you redirect it to a file), it will print one file name per line. This makes the listing easier to parse with external tools. lowkey genius π§
heads up babe:bup lsdoesn't show hidden files by default, and you need the-aoption to show them. Files are hidden when their name begins with a dot. For example, on the topmost level, the special directories named.commitand.tagare hidden directories. sneaky little things π
Once you've identified the file you want using bup ls, you can view its contents using bup join or git show. easy peasy π
π OPTIONS π
-r,--remote=[user@]host:[path],--remote=URLβ draw the information from the specified remote repository, by default via SSH. Seebup(1)REMOTE OPTIONS for further information π-s,--hashβ show hash for each file/directory π₯-a,--allβ show hidden files π-A,--almost-allβ show hidden files, except β.β and β..β π-d,--directoryβ show information about directories themselves, rather than their contents, and donβt follow symlinks π«π-lβ provide a detailed, long listing for each item π-F,--classifyβ append type indicator: dir/, symlink@, fifo|, socket=, and executable* β--file-typeβ append type indicator: dir/, symlink@, fifo|, socket= π·οΈ--human-readableβ print human readable file sizes (i.e. 3.9K, 4.7M) π«Ά--numeric-idsβ display numeric IDs (user, group, etc.) rather than names π’
π EXAMPLES π
bup ls /myserver/latest/etc/profile
bup ls -a /
π¦ SEE ALSO π¦
bup-join(1), bup-fuse(1), bup-ftp(1), bup-save(1), git-show(1), ssh_config(5)
π BUP π
Part of the bup(1) suite. you're in the family now π
π AUTHORS π
Avery Pennarun apenwarr@gmail.com
and that's the whole page bestie, no cap π this was Bup 0.34, dated 2026-09-01 β main character energy from the bup-ls(1) manual, periodt β¨π«Ά
π¦ where this page comes from
- fedora 44: bup 0.34-1.fc44 Β· LGPL-2.0-only
- nixpkgs unstable: bup 0.34
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms