]> arthur.barton.de Git - bup.git/blobdiff - Documentation/bup-ftp.md
Always name the top-level split file "data", instead of the branch basename.
[bup.git] / Documentation / bup-ftp.md
index ba11b48135c2fa57732c78a7e5256268743b6bef..f0fe8a6b73d5b85343e65c0317cd75d3db7259a6 100644 (file)
@@ -27,8 +27,13 @@ lot of typing.
 
 The following commands are available inside `bup ftp`:
 
-ls
-:   print the contents of the current working directory
+ls [-s] [-a] [*path*]
+:   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 `.` character). If -s is given, each file
+    is displayed with its hash from the bup archive to its
+    left.
 
 cd *dirname*
 :   change to a different working directory
@@ -57,22 +62,19 @@ quit
 :   exit the `bup ftp` client
 
 
-# EXAMPLE
-
+# EXAMPLES
     $ bup ftp
     bup> ls
-    mybackup/
-    yourbackup/
+    mybackup/    yourbackup/
+
     bup> cd mybackup/
     bup> ls
-    .2fe288dedbfab372c84b0502ee2bc1504270f3b3/
-    .ae760aa4cfc13b689b46e3d2ce5ae50e92299c72/
-    2010-02-05-185507@
-    2010-02-05-185508@
-    latest@
+    2010-02-05-185507@   2010-02-05-185508@    latest@
+
     bup> cd latest/
     bup> ls
       (...etc...)
+
     bup> get myfile
     Saving 'myfile'
     bup> quit
@@ -80,7 +82,7 @@ quit
 
 # SEE ALSO
 
-`bup-join`(1), `bup-fuse`(1), `bup-ls`(1), `bup-save`(1), `git-show`(1)
+`bup-fuse`(1), `bup-ls`(1), `bup-save`(1), `bup-restore`(1)
 
 
 # BUP