/usr/share/doc/bup/bup-ftp.html is in bup-doc 0.29-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="Content-Style-Type" content="text/css" />
<meta name="generator" content="pandoc" />
<meta name="author" content="Avery Pennarun apenwarr@gmail.com" />
<meta name="date" content="2017-04-01" />
<title>bup-ftp(1) Bup debian/0.29-3</title>
<style type="text/css">code{white-space: pre;}</style>
</head>
<body>
<div id="header">
<h1 class="title">bup-ftp(1) Bup debian/0.29-3</h1>
<h2 class="author">Avery Pennarun <a href="mailto:apenwarr@gmail.com">apenwarr@gmail.com</a></h2>
<h3 class="date">2017-04-01</h3>
</div>
<h1 id="name">NAME</h1>
<p>bup-ftp - ftp-like client for navigating bup repositories</p>
<h1 id="synopsis">SYNOPSIS</h1>
<p>bup ftp</p>
<h1 id="description">DESCRIPTION</h1>
<p><code>bup ftp</code> is a command-line tool for navigating bup repositories. It has commands similar to the Unix <code>ftp</code>(1) command. The file hierarchy is the same as that shown by <code>bup-fuse</code>(1) and <code>bup-ls</code>(1).</p>
<p>Note: if your system has the python-readline library installed, you can use the <tab> key to complete filenames while navigating your backup data. This will save you a lot of typing.</p>
<h1 id="commands">COMMANDS</h1>
<p>The following commands are available inside <code>bup ftp</code>:</p>
<dl>
<dt>ls [-s] [-a] [<em>path</em>]</dt>
<dd>print the contents of a directory. If no path argument is given, the current directory's contents are listed. If -a is given, also include hidden files (files which start with a <code>.</code> character). If -s is given, each file is displayed with its hash from the bup archive to its left.
</dd>
<dt>cd <em>dirname</em></dt>
<dd>change to a different working directory
</dd>
<dt>pwd</dt>
<dd>print the path of the current working directory
</dd>
<dt>cat <em>filenames...</em></dt>
<dd>print the contents of one or more files to stdout
</dd>
<dt>get <em>filename</em> <em>localname</em></dt>
<dd>download the contents of <em>filename</em> and save it to disk as <em>localname</em>. If <em>localname</em> is omitted, uses <em>filename</em> as the local name.
</dd>
<dt>mget <em>filenames...</em></dt>
<dd>download the contents of the given <em>filenames</em> and stores them to disk under the same names. The filenames may contain Unix filename globs (<code>*</code>, <code>?</code>, etc.)
</dd>
<dt>help</dt>
<dd>print a list of available commands
</dd>
<dt>quit</dt>
<dd>exit the <code>bup ftp</code> client
</dd>
</dl>
<h1 id="examples">EXAMPLES</h1>
<pre><code>$ bup ftp
bup> ls
mybackup/ yourbackup/
bup> cd mybackup/
bup> ls
2010-02-05-185507@ 2010-02-05-185508@ latest@
bup> cd latest/
bup> ls
(...etc...)
bup> get myfile
Saving 'myfile'
bup> quit</code></pre>
<h1 id="see-also">SEE ALSO</h1>
<p><code>bup-fuse</code>(1), <code>bup-ls</code>(1), <code>bup-save</code>(1), <code>bup-restore</code>(1)</p>
<h1 id="bup">BUP</h1>
<p>Part of the <code>bup</code>(1) suite.</p>
</body>
</html>
|