Thomas Koch wrote:
> I scanned the git-annex man page several times but could not figure out the
> right way to remove and purge a file from all clones in one step. The man page
> says I should use git annex drop. But this won't tell the other repositories
> that I don't want to have this file anymore.

Remove the file from the git repository, and use `git annex unused; git
annex dropunused` in the other repositories.

> But I'd like to have git annex {rm|remove} $FILE to do the above in one step.

This is not possible, git-annex does not require that all repositories
are always reachable, or that the current repository even knows where
all other repositories are.

> It's also not clear to me, at which point the content of the file will be
> removed on the remotes. Will the next git annex sync also remove the files
> from the annex object store of the remotes?

git-annex sync only syncs git repositories, it does not do anything with the
contents of files.

-- 
see shy jo

Attachment: signature.asc
Description: Digital signature

Reply via email to