File: Watch__47__assistant__47__webapp_documentation.mdwn

package info (click to toggle)
git-annex 5.20141125%2Bdeb8u1
  • links: PTS
  • area: main
  • in suites: jessie
  • size: 37,832 kB
  • sloc: haskell: 42,603; sh: 1,080; ansic: 498; makefile: 316; perl: 125
file content (12 lines) | stat: -rw-r--r-- 945 bytes parent folder | download | duplicates (11)
1
2
3
4
5
6
7
8
9
10
11
12
Hello,

I'm not sure about the differences and interactions between watch / assistant / webapp / direct mode. I think I figured the following out, can someone confirm this, and perhaps a few words to the documentation / man page?

- git annex watch uses inotify to find new files, and runs git annex add on them (it does not do regular git add)
- git annex assistant does the same as watch, but also runs git annex sync for each new file (does it also enable direct mode?)
- git annex webapp does the same as assistant, and also starts a webapp (in my case it immediately started sending files to origin, without asking for confirmation, which was surprising, I guess this is because I have * annex.numcopies=2 set, and there was only one copy. Still I interpreted the documentation as if it would only show me an interface, not start doing things right away.)

Do these commands do anything else than what I described above?

best regards,
Tom