"Fossies" - the Fresh Open Source Software Archive
Member "bup-0.30/Documentation/bup-ls.md" (28 Sep 2019, 2647 Bytes) of package /linux/privat/bup-0.30.tar.gz:
As a special service "Fossies" has tried to format the requested source page into HTML format (assuming markdown format).
Alternatively you can here view
the uninterpreted source code file.
A member file download can also be achieved by clicking within a package contents listing on the according byte size field. See also the latest Fossies "Diffs"
side-by-side code changes report for "bup-ls.md": 0.29.3_vs_0.30
bup-ls - list the contents of a bup repository
bup ls [-r host:[path]] [OPTION…] <paths…>
bup ls lists files and directories in your bup repository using the same directory hierarchy as they would have with
The top level directory contains the branch (corresponding to the
-n option in
bup save), the next level is the date of the backup, and subsequent levels correspond to files in the backup.
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. However, when
-l is specified or bup is asked to output to something other than 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.
bup ls doesn’t show hidden files by default and one needs to use the
-a option to show them. Files are hidden when their name begins with a dot. For example, on the topmost level, the special directories named
.tag are hidden directories.
Once you have identified the file you want using
bup ls, you can view its contents using
bup join or
- -r, --remote=host:[path]
- list information for the repository at path on the indicated host. If path is omitted, uses the default path on the remote server (you still need to include the ‘:’). The connection to the remote server will be made by SSH. If you’d like to specify the port, user, or private key, we recommend you use the
~/.ssh/config file (
- -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.
- provide a detailed, long listing for each item.
- -F, --classify
- append type indicator: dir/, symlink@, fifo|, socket=, and executable*.
- append type indicator: dir/, symlink@, fifo|, socket=.
- print human readable file sizes (i.e. 3.9K, 4.7M).
- display numeric IDs (user, group, etc.) rather than names.
bup ls /myserver/latest/etc/profile
bup ls -a /
Part of the