summaryrefslogtreecommitdiff
path: root/doc/not/comment_14_837e3699014b73e8f2bd2a668eea9eef._comment
blob: 01eb17b86580d0745a5af5a74f3bf75d912e1c91 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
[[!comment format=mdwn
 username="https://www.google.com/accounts/o8/id?id=AItOawmhufs6QGCQXnUEc6qrCcQIZTomUDKNeAQ"
 nickname="Jeff"
 subject="Git annex in a strange direct with .git/annex/objects mode"
 date="2014-04-21T21:03:24Z"
 content="""
I'm doing something perhaps unreasonable and weird, and I'm wondering if there's a better way.

I'm running a wget -mbc of a particular web site.  It replicates down to a tree.
Then I'm ingesting the content into git annex via the normal 'git annex add' sequence.

Later, when I'm going to update my replica of the website, I am running a 'git annex unlock' on the whole tree (90 gig in this case), and then running the 'wget -mbc ; git annex add' command sequence again.

Is there any mechanism to convince git-annex to scan the file, and ingest (copy) it into objects if it is new content, while leaving the original files unlocked?   This would give me the ability to avoid the 'git annex unlock' copy operation, which is lengthy.

I'm aware this is inherently space inefficient.

I'm sure there's some other problem with this idea that I'm missing.

Thanks.


"""]]