diff options
author | Joey Hess <joeyh@joeyh.name> | 2016-05-03 13:56:18 -0400 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2016-05-03 13:56:18 -0400 |
commit | bb5baa2d3dc36979c1c2d34043c3a320271bd005 (patch) | |
tree | 770d37033c594cd3e8cc04c19bc153edb1fc7053 | |
parent | ba35ffcb819639c29a33a5937a03a46c1ff28d3d (diff) |
comment
-rw-r--r-- | doc/forum/Is_it_possible_to_create_a_view_on_files_that___42__dont__42___have_a_field_set__63__/comment_3_cda315119bd3ccce74bc3df8dd56bf1a._comment | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/doc/forum/Is_it_possible_to_create_a_view_on_files_that___42__dont__42___have_a_field_set__63__/comment_3_cda315119bd3ccce74bc3df8dd56bf1a._comment b/doc/forum/Is_it_possible_to_create_a_view_on_files_that___42__dont__42___have_a_field_set__63__/comment_3_cda315119bd3ccce74bc3df8dd56bf1a._comment new file mode 100644 index 000000000..46b724ec9 --- /dev/null +++ b/doc/forum/Is_it_possible_to_create_a_view_on_files_that___42__dont__42___have_a_field_set__63__/comment_3_cda315119bd3ccce74bc3df8dd56bf1a._comment @@ -0,0 +1,22 @@ +[[!comment format=mdwn + username="joey" + subject="""comment 3""" + date="2016-05-03T17:48:07Z" + content=""" +Actually, you can do it without setting the field to a dummy value. + +For example, to find all files without an author metadata: + + git annex find --not --metadata 'author=*' + +Same switches can be used with other commands, including the metadata +command. + +You can also use the git-annex view command to enter a branch that only +contains the files without metadata set: + + git annex view 'author!=*' + +(Unfortunately, adding metadata to a file does not currently update this +view branch.) +"""]] |