For test purposes I copied a folder into my local repository to do some tests. I now had a look at the original folder size and the size of the repository and compared it to the original folder and the repo is about 2x bigger. How come? => http://screencast.com/t/Tvqe5P22Ux
I don't have bandwidth to watch screencasts, so I can only guess.
My first guess would be that you used
git add
to check the files into a git repository. This will exactly double the disk space, since each file is now stored in .git/ as well as in the working tree. This is a problem that git-annex solves.If you'd like to provide more information (cut and paste of details is useful), I can perhaps make more informed guesses. Or you could use
du
so see which files are taking up more space than you expect.I don't recall doing anything besides using the git annex assistant...
That link is just a screen shot...
anyway here is more info:
du -h -s git-annex/* 38M git-annex/Finance 8.0K git-annex/archive
BUT if I check the folder git-annex's properties it says:
45 980 806 bytes (80,4 MB on disk) for 8 420 items
Is that normal?
du
.I thinks its all the small files.
The GUI shows: 46 136 859 bytes (80,6 MB on disk) for 8 002 items
And the hidden .git folder shows: 7 373 616 bytes (41 MB on disk) for 7 625 items
So apparently there are a lot of very small files, smaller than the blocksize hence the info is skewed? Anyway, I think its alright?