git-annex/doc/tips
Joey Hess 079b35a1a8 views: add automatically constructed file location metadata
When constructing views, metadata is available about the location of the
file in the view's reference branch. Allows incorporating parts of the
directory hierarchy in a view.

For example `git annex view tag=* podcasts/=*` makes a view in the form
tag/showname.

Performance impact: I benchmarked git annex view tag=* in the conference
proceedings repo to take 6.459s before this change, and 6.544s after.

FWIW, I considered making the syntax for this be podcasts/*, which might
be easier for the user to learn. However, I think it's not as good:

* The user has to then juggle two different syntaxes, and podcasts/* will
  be expanded by the shell so they also need to quote it, while podcasts/=*
  is unlikely to be expanded by the shell.
* It would allow for things like podcasts/*/* and *.mp3 which do not
  map well into views.

This commit was sponsored by Aurélien Pinceaux.
2014-02-22 16:27:53 -04:00
..
assume-unstaged Added a comment 2013-09-05 12:14:42 +00:00
beware_of_SSD_wear_when_doing_fsck_on_large_special_remotes Added a comment 2013-08-19 01:05:42 +00:00
Building_git-annex_on_Debian_OR___37____164____35____34____164____37____38____34____35___Haskell__33__ Added a comment 2013-04-30 21:51:50 +00:00
centralised_repository:_starting_from_nothing Added a comment 2011-12-23 19:19:53 +00:00
centralized_git_repository_tutorial Added a comment: How can I resolve a non-fast-forware on the git-annex branch? 2013-10-07 17:08:34 +00:00
Decentralized_repository_behind_a_Firewall Added a comment 2012-11-30 16:26:01 +00:00
Delay_Assistant_Startup_on_Login Added a comment: ionice not supported by deadline scheduler 2013-06-28 17:43:47 +00:00
downloading_podcasts Added a comment 2013-08-22 15:29:12 +00:00
finding_duplicate_files Added a comment: a shell script that handles spaces in file names 2013-12-31 10:24:17 +00:00
flickrannex Added a comment: Version 0.1.10 pushed 2013-09-11 20:31:40 +00:00
fully_encrypted_git_repositories_with_gcrypt Added a comment 2013-12-31 19:26:55 +00:00
How_to_retroactively_annex_a_file_already_in_a_git_repo Added a comment 2013-06-22 07:43:10 +00:00
Internet_Archive_via_S3 Added a comment: still a bug, filed separately! 2013-10-11 18:49:06 +00:00
offline_archive_drives The "git annex content" command is renamed to "git annex wanted". 2013-10-28 14:08:38 -04:00
owncloudannex Added a comment 2013-07-10 09:56:54 +00:00
recover_data_from_lost+found Added a comment 2014-01-03 21:19:39 +00:00
recovering_from_a_corrupt_git_repository Added a comment 2013-11-14 10:00:20 +00:00
replacing_Sparkleshare_or_dvcs-autosync_with_the_assistant Added a comment 2013-12-12 19:58:53 +00:00
setup_a_public_repository_on_a_web_site Added a comment: web storage 2014-01-17 22:59:28 +00:00
The_perfect_preferred_content_settings_for_my_android_phone Added a comment: Pulling *.flac files as well... too much data 2013-12-31 19:26:36 +00:00
using_Amazon_Glacier Added a comment: confirmed 2014-02-21 17:53:02 +00:00
using_Amazon_S3 Added a comment 2012-05-29 19:10:42 +00:00
using_box.com_as_a_special_remote Added a comment: updated url for drive mount 2013-12-18 20:20:22 +00:00
Using_Git-annex_as_a_web_browsing_assistant doc/: s/amoung/among/gi 2013-12-18 22:09:18 +01:00
using_git_annex_with_no_fixed_hostname_and_optimising_ssh Added a comment 2011-12-23 13:31:34 +00:00
using_gitolite_with_git-annex Added a comment: Using Gitolite 3.2 2014-01-17 20:14:16 +00:00
using_Google_Cloud_Storage Added a comment: AWS credentials 2013-05-31 10:23:23 +00:00
using_the_web_as_a_special_remote Added a comment 2013-04-22 21:28:03 +00:00
visualizing_repositories_with_gource Added a comment: You can also use it for LIVE display now 2013-12-19 14:29:19 +00:00
what_to_do_when_you_lose_a_repository Added a comment 2013-12-17 16:11:52 +00:00
yet_another_simple_disk_usage_like_utility rename status to info, and update docs 2013-11-07 12:45:59 -04:00
assume-unstaged.mdwn markdown formatting 2013-09-05 12:03:52 +00:00
automatically_getting_files_on_checkout.mdwn
beware_of_SSD_wear_when_doing_fsck_on_large_special_remotes.mdwn 2013-07-31 04:39:21 +00:00
Building_git-annex_on_Debian_OR___37____164____35____34____164____37____38____34____35___Haskell__33__.mdwn typo 2013-05-30 18:14:33 +00:00
centralised_repository:_starting_from_nothing.mdwn
centralized_git_repository_tutorial.mdwn revert spam 2013-11-20 00:47:03 -04:00
Crude_Windows_Sync.mdwn 2013-11-21 15:33:35 +00:00
Decentralized_repository_behind_a_Firewall.mdwn rename status to info, and update docs 2013-11-07 12:45:59 -04:00
Delay_Assistant_Startup_on_Login.mdwn 2013-06-21 05:44:02 +00:00
downloading_podcasts.mdwn importfeed: Support youtube playlists. 2013-12-29 15:52:20 -04:00
dropboxannex.mdwn 2014-01-10 14:35:18 +00:00
emacs_integration.mdwn Add magit-annex to emacs integration tips 2014-01-10 18:38:57 -05:00
finding_duplicate_files.mdwn This reverts commit 57a71adc21 2012-09-05 02:09:28 +00:00
flickrannex.mdwn 2014-01-10 14:33:01 +00:00
fully_encrypted_git_repositories_with_gcrypt.mdwn Fix a git command 2013-12-23 03:11:52 +00:00
Git_annex_and_Calibre.mdwn really specify direct 2013-10-30 16:35:53 +00:00
googledriveannex.mdwn 2014-01-10 14:34:11 +00:00
How_to_retroactively_annex_a_file_already_in_a_git_repo.mdwn move tip from forum to tips 2012-12-17 12:43:08 -04:00
imapannex.mdwn 2014-01-10 14:33:30 +00:00
Internet_Archive_via_S3.mdwn S3: Try to ensure bucket name is valid for archive.org. 2013-10-16 16:35:47 -04:00
megaannex.mdwn 2014-01-10 14:33:59 +00:00
metadata_driven_views.mdwn views: add automatically constructed file location metadata 2014-02-22 16:27:53 -04:00
migrating_data_to_a_new_backend.mdwn
migrating_two_seperate_disconnected_directories_to_git_annex.mdwn Possibly missing space 2014-01-31 13:37:37 +00:00
offline_archive_drives.mdwn 2013-12-16 06:06:46 +00:00
owncloudannex.mdwn 2014-01-10 14:34:55 +00:00
powerful_file_matching.mdwn Typo. 2013-08-25 19:04:34 +00:00
recover_data_from_lost+found.mdwn typo with tabs 2013-11-28 07:26:46 +00:00
recovering_from_a_corrupt_git_repository.mdwn 2013-11-11 05:35:43 +00:00
replacing_Sparkleshare_or_dvcs-autosync_with_the_assistant.mdwn update for direct mode guard 2013-12-12 14:08:37 -04:00
setup_a_public_repository_on_a_web_site.mdwn typo 2013-12-20 10:38:17 -04:00
Shamir_secret_sharing_and_git-annex.mdwn update 2014-01-24 01:05:01 -04:00
shared_git_annex_directory_between_multiple_users.mdwn warning to people who want to do this with encrypted remotes 2013-09-21 16:35:17 +00:00
skydriveannex.mdwn 2014-01-11 13:25:48 +00:00
Synology_NAS_and_git_annex.mdwn add newlines between dummy numbered items 2014-01-02 13:29:32 -04:00
The_perfect_preferred_content_settings_for_my_android_phone.mdwn Tech fix 2013-11-30 15:04:35 +00:00
untrusted_repositories.mdwn
using_Amazon_Glacier.mdwn initremote -> enableremote, pretty sure 2014-02-18 15:53:48 -08:00
using_Amazon_S3.mdwn update docs for changed initremote encryption syntax 2013-09-04 23:46:50 -04:00
using_box.com_as_a_special_remote.mdwn update davfs2 method with new box.com dav url 2013-12-18 20:23:44 +00:00
Using_Git-annex_as_a_web_browsing_assistant.mdwn fix bad wrap 2013-04-11 11:08:11 -04:00
using_git_annex_with_no_fixed_hostname_and_optimising_ssh.mdwn ssh connection caching 2012-01-20 17:14:56 -04:00
using_gitolite_with_git-annex.mdwn [Fix] Bad $GL_ADC_PATH definition 2013-06-29 10:56:59 +00:00
using_Google_Cloud_Storage.mdwn add a tip 2013-01-26 10:10:35 +11:00
using_the_SHA1_backend.mdwn
using_the_web_as_a_special_remote.mdwn global numcopies setting 2014-01-20 16:47:56 -04:00
visualizing_repositories_with_gource.mdwn 2012-01-19 23:10:25 +00:00
what_to_do_when_a_repository_is_corrupted.mdwn
what_to_do_when_you_lose_a_repository.mdwn fix example to match current command in git-annex semitrust 2012-07-25 20:12:16 +00:00
yet_another_simple_disk_usage_like_utility.mdwn 2013-07-12 19:28:09 +00:00