backup -- ls: shows too many paths? #37
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I think I would not expect the timestamps?
And further, the lines with
/var
,/var/lib
etc.Maybe something like?
Also, it would be good to include the time/date of this backup? Is there also an accompanying snapshot ID or additonal metadata you think would be useful to have on the receiving end of this?
Related #27
@3wordchant any thoughts on output for this which would be useful?
I think for finding files with
grep
it would be nice to list all files recursively. But instead of being the default behavior, it could be activated with a flag like--all / -a
. And the default behavior could be to provide a path, like unixls
works. And maybe activating timestamps with a-t
flag?That sounds Very Cool @moritz 👍
The usage is:
backup ls
will now show/var/lib/docker/volumes/
per default, if noPATH
is given. The path can also be set perINCLUDE_PATH
env.The
--all
flag will show all files recursively. This flag can also be set with the envSHOW_ALL
.Added
-t, --timestamps
flag (TIMESTAMPS
env) to show timestamps.