Matthew Kirkley
Matthew Kirkley

Reputation: 4208

Best git like versioning tool for many small files

I was wondering what everyone's thoughts were on the best 'git like' versioning tool that can be used for many small (1 - 30kb) files. All I really want to track are deletions, moves, renames but not content changes.

My situation is about 200,000 1 to 30 kilobyte files.

Some searching brought me to git-annex. Will that do what I need?

Upvotes: 9

Views: 1068

Answers (2)

asmeurer
asmeurer

Reputation: 91660

To reiterate a comment, why not just git itself? The tool was designed to work well in many different contexts.

Though, for what it's worth, tracking actual renames is not so easy in git. The tools are there, but there's no easy way to access them. See Find git commits that "rewrite" files.

Another idea: find some simple tool that gathers all file names into a text file and just use git to track that. Again, might handle renames so well, though.

Upvotes: 1

theforce
theforce

Reputation: 1525

git-annex is the only one where I know - based on git. This tool supports what you are looking for and more. e.g syncing multiple annex repo's in one shot. You have full git command support and all new annex commands.To clarify, rename, delete, move appears to git. Annex use symbolic links for tracking your content.

I use the tool to track and update my homepage files. Rsync can't handle rename. That was the reason why I use this tool, and because I know git well.

Upvotes: 1

Related Questions