Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: [tlug] Poll: OpenOffice or LibreOffice?
- Date: Sun, 18 May 2014 21:35:13 +0900
- From: Darren Cook <darren@example.com>
- Subject: Re: [tlug] Poll: OpenOffice or LibreOffice?
- References: <87iop8erkb.fsf@uwakimon.sk.tsukuba.ac.jp> <5374010A.6060509@extellisys.com> <87a9ajenxw.fsf@uwakimon.sk.tsukuba.ac.jp> <5375594E.7030000@extellisys.com> <20140516204331.33cadc3a@syd.sandslott.intra> <5376970A.1080400@extellisys.com> <CAAhy3dt3RCrs4+wLs1Luzp1d2EfCwn17Lx_r5R8m9yofwiWfpA@mail.gmail.com> <87k39kfsa0.fsf@uwakimon.sk.tsukuba.ac.jp> <CAAhy3dsjZ1R1HzZzzRUtO-zKCm08Hv3zFGCr=ztD3eHGZBBJwg@mail.gmail.com> <87d2fbxzar.fsf@uwakimon.sk.tsukuba.ac.jp> <CAJA1Y2aBi-47nwj35G3QLt+CR0_A8L0sOq_aMO0pwbmO64GmDQ@mail.gmail.com> <537892F2.9010700@dcook.org> <CAJA1Y2ai7EMqVUGxdh7LHsKiLFt-0OvK-Qndi3zgA7oT0CBcmQ@mail.gmail.com>
- User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0
>> Git hashes each file (that exists now, or has existed in the past), and >> creates one file per hash code. > > To be clear: there is no copy of the actual files, right? Unless I've misunderstood, there is a copy. (It might be zipped, in which case my below numbers are off.) Otherwise when you delete your file, going back in the git history wouldn't be able to recover it. > Practical example: someone has a disk 90% full of music, pics, and > video. No space > anywhere else. Will git need another disk, just to find dups? Git is the wrong tool for that (IMHO). Go straight to md5 hashes. >> (So it can detect duplicates in the directory tree; but you could >> achieve the same by just writing a script to run md5sum on every file.) > > This was my initial question (and my solution). I just wondered if git > could do the same > with 2 lines instead of my 100 :) I bet someone with more bash skills than me could make it a one-liner. Something like: find . | xargs md5sum | sort | uniq Er, or something like that. >> Personally I don't do that, and just back it all up, .git/ and all. It >> means I'm backing up roughly 2.5GB for every 1GB of real files. ... > The 2.5 for 1 ratio is due to what exactly? +1 for a full copy of the initial files. Then I'm guessing most of the other files don't change much. But, better to get some hard facts. Here is one directory (a web app) with 3191 git log entries: 112MB in total, and .git is 26MB of that. I see roughly 30MB is being excluded by .gitignore. So: 56MB real files gives a 26MB git directory. Much less than by 2.5 ratio. This could well be compression. Or me misunderstanding how git works. Darren -- Darren Cook, Software Researcher/Developer My new book: Data Push Apps with HTML5 SSE Published by O'Reilly: (ask me for a discount code!) http://shop.oreilly.com/product/0636920030928.do Also on Amazon and at all good booksellers!
- Follow-Ups:
- Re: [tlug] Poll: OpenOffice or LibreOffice?
- From: Bruno Raoult
- References:
- [tlug] Poll: OpenOffice or LibreOffice?
- From: Stephen J. Turnbull
- Re: [tlug] Poll: OpenOffice or LibreOffice?
- From: Travis Cardwell
- Re: [tlug] Poll: OpenOffice or LibreOffice?
- From: Stephen J. Turnbull
- Re: [tlug] Poll: OpenOffice or LibreOffice?
- From: Travis Cardwell
- Re: [tlug] Poll: OpenOffice or LibreOffice?
- From: Benjamin Tayehanpour
- Re: [tlug] Poll: OpenOffice or LibreOffice?
- From: Travis Cardwell
- Re: [tlug] Poll: OpenOffice or LibreOffice?
- From: Raymond Wan
- Re: [tlug] Poll: OpenOffice or LibreOffice?
- From: Stephen J. Turnbull
- Re: [tlug] Poll: OpenOffice or LibreOffice?
- From: Raymond Wan
- Re: [tlug] Poll: OpenOffice or LibreOffice?
- From: Stephen J. Turnbull
- Re: [tlug] Poll: OpenOffice or LibreOffice?
- From: Bruno Raoult
- Re: [tlug] Poll: OpenOffice or LibreOffice?
- From: Darren Cook
- Re: [tlug] Poll: OpenOffice or LibreOffice?
- From: Bruno Raoult
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] Poll: OpenOffice or LibreOffice?
- Next by Date: Re: [tlug] Poll: OpenOffice or LibreOffice?
- Previous by thread: Re: [tlug] Poll: OpenOffice or LibreOffice?
- Next by thread: Re: [tlug] Poll: OpenOffice or LibreOffice?
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links