diff options
author | 2013-05-04 09:36:37 +0000 | |
---|---|---|
committer | 2013-05-04 09:36:37 +0000 | |
commit | 4bd8c624f1e7ba4fb7a14988e6edf2eb797acd60 (patch) | |
tree | 568078f18ab23d507ad5aa1b1a4f1b5053656fd7 /doc | |
parent | d3c0e22c3b54f64a2953cda8c08606ef2d29620a (diff) |
Diffstat (limited to 'doc')
-rw-r--r-- | doc/forum/annexed_file_key_for_web_remote_with_SHA256E_backend.mdwn | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/doc/forum/annexed_file_key_for_web_remote_with_SHA256E_backend.mdwn b/doc/forum/annexed_file_key_for_web_remote_with_SHA256E_backend.mdwn new file mode 100644 index 000000000..6c428e375 --- /dev/null +++ b/doc/forum/annexed_file_key_for_web_remote_with_SHA256E_backend.mdwn @@ -0,0 +1,12 @@ +First off, thanks so much for your hard work, git-annex is amazing. + +I just started using the [web as a special remote](http://git-annex.branchable.com/tips/using_the_web_as_a_special_remote/) feature with the SHA256E backend, and I noticed that although the annexed file has the correct backend prefix (SHA256E) it does not have the extension of the file in the URL. The URL is `https://...IMG_1234.JPG` but the annexed file is `SHA256E-...832c99` with no extension. + +This is fine for most use cases, but I actually access an S3 remote directly from another app (independent of git-annex) to render photos, and in that app I'm using the extensions to figure out file types, so not having that info is slightly inconvenient. + +Is there any way to either: + +1. tell git-annex to preserve the extension of a file on the web in the annexed file, or +2. alternatively, change the annexed filename (add the extension manually) without screwing anything up? + +Any help would be much appreciated, thanks! |