Re: How to start syncing two existing directories with git annex?

2014-03-06 Thread Joey Hess
Sean Hammond wrote: > 3. On each machine, 7 files have been replaced with broken symlinks to files > in .git/objects. This time it is the same files on both machines, so it > looks as if git-annex might have lost these files from both machines. > git-annex fsck finds these 7 and reports them as 'No

Re: How to start syncing two existing directories with git annex?

2013-11-27 Thread Sean Hammond
Thanks for your help Joey, >> 1. The total number of files in ~/Annex, not including .git, on A and B is different: ls -R1 ~/Annex | wc -l 21830 ls -R1 ~/Annex | wc -l 21845 2. git-annex status shows untracked and modified files on both machines (different files on each machine). These seem

Re: How to start syncing two existing directories with git annex?

2013-11-27 Thread Joey Hess
Sean Hammond wrote: > 1. The total number of files in ~/Annex, not including .git, on A > and B is different: > > ls -R1 ~/Annex | wc -l > 21830 > > ls -R1 ~/Annex | wc -l > 21845 > > 2. git-annex status shows untracked and modified files on both > machines (different files on each machine). Th

Re: How to start syncing two existing directories with git annex?

2013-11-27 Thread Sean Hammond
On 26.11.2013 15:51, Sean Hammond wrote: Thanks all. I'm going to try the simplest method: just run git annex assistant on both machines, drag the music dir into the annex on both machines, and let it deal with it. Some unnecessary transferring and temporary on-disk duplication should not be a pr

Re: How to start syncing two existing directories with git annex?

2013-11-26 Thread Joey Hess
Sean Hammond wrote: > I think it worked. Git annex assistant did a lot of transferring, > and when it was eventually done the number of files and size of the > ~/Annex/Music dir is exactly the same on both machines, and the > files look fine. > > The ~/Annex/.git dirs are quite big though: 640M an

Re: How to start syncing two existing directories with git annex?

2013-11-26 Thread Sean Hammond
Thanks all. I'm going to try the simplest method: just run git annex assistant on both machines, drag the music dir into the annex on both machines, and let it deal with it. Some unnecessary transferring and temporary on-disk duplication should not be a problem. I've made a backup first, just in c

Re: How to start syncing two existing directories with git annex?

2013-11-25 Thread Sean Hammond
Thanks all. I'm going to try the simplest method: just run git annex assistant on both machines, drag the music dir into the annex on both machines, and let it deal with it. Some unnecessary transferring and temporary on-disk duplication should not be a problem. I've made a backup first, just i

Re: How to start syncing two existing directories with git annex?

2013-11-25 Thread Alan Schmitt
snh...@gmail.com writes: > I could use unison to make sure that the two ~/Music dirs are exactly > the same, and resolve any differences, before moving anything into > ~/Annex. Maybe that would be a good idea? Unison will probably be useful in making sure the same files are on both replicas, bu

Re: How to start syncing two existing directories with git annex?

2013-11-24 Thread Adam Spiers
On 24 November 2013 20:03, Sean Hammond wrote: > Hey, I have a ~/Music directory on computer A, and a ~/Music directory on > computer B. They contain mostly the same files (and with the same paths). > But there might be some files on A but not B, or vice-versa. And there might > be some files on b

Re: How to start syncing two existing directories with git annex?

2013-11-24 Thread Joey Hess
Sean Hammond wrote: > Hey, I have a ~/Music directory on computer A, and a ~/Music > directory on computer B. They contain mostly the same files (and > with the same paths). But there might be some files on A but not B, > or vice-versa. And there might be some files on both but different > (e.g. di