Skip to content
This repository was archived by the owner on Nov 6, 2025. It is now read-only.

Commit 3bf5b32

Browse files
update README (incl. broken example!)
1 parent a594435 commit 3bf5b32

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ Don't worry, they're easy to remember after a minute:
2222
`bak down`: I've screwed up, undo the damage.
2323
`bak off`: I'm done working. Go away, **bak**, and take your .bakfile with you.
2424

25+
All of **bak**'s commands will disambiguate between multiple copies of the same file. In other words, you can `bak my_thing.txt` as many times as you want, until you're finished working, if you'd prefer to keep multiples instead of using `bak up`. At the moment, all you've got to go by are timestamps when it asks you to pick a .bakfile, but this will improve.
26+
2527
## Additional commands and flags
2628
`bak down --keep my_file` - Restores from .bakfile, does not delete .bakfile
2729
`bak diff my_file` Compare a .bakfile using `diff` (will become configurable)
@@ -34,11 +36,9 @@ examples:
3436
bak show --in nvim my_file.json
3537
`bak get-bak my_file` Get the abspath of a .bakfile, in case, for some reason, you want to pipe it somewhere
3638

37-
example:
39+
example (for illustrative purposes; use 'bak diff' instead):
3840

39-
bak get-bak my_file.json >> xargs diff my_file.json
40-
(will be useless once 'bak diff' is implemented, but
41-
whatever.)
41+
diff $(bak get-bak my_file.json) my_file.json
4242

4343
## Advanced features (Not yet implemented as of Oct. 28, 2020)
4444
**bak** is also slated to support a number of flags, as well as rich output, such as:

0 commit comments

Comments
 (0)