#bibliographie On a initialement utilisé [[file:Bibliographie%20avec%20emacs.md][emacs avec citar]] Avec le changement à helix, on utilise [[file:Bibliographie%20avec%20papis.md][papis]] * Synchronisation des pdfs :PROPERTIES: :CUSTOM_ID: synchronisation-des-pdfs :END: On utilise git-annex. Il faut - git-annex - git-lfs - git-lfs - rclone ** Configuration :PROPERTIES: :CUSTOM_ID: configuration :END: *** Google drive :PROPERTIES: :CUSTOM_ID: google-drive :END: - Create a rclone google drive remote - Copy the executable git-annex-remote-rclone here into $PATH [[https://github.com/DanielDent/git-annex-remote-rclone]] - Add a remote #+begin_src sh git annex initremote gdrive type=external externaltype=rclone target=gdrive encryption=shared #+end_src *** Git LFS :PROPERTIES: :CUSTOM_ID: git-lfs :END: - Create a git repo and set it up for git-lfs (apraga/papers) [[https://git-lfs.github.com/]] - Add a remote #+begin_src sh git annex initremote lfstest type=git-lfs url=git@github.com:apraga/papers.git encryption=none #+end_src ** Utilisation :PROPERTIES: :CUSTOM_ID: utilisation :END: #+begin_src sh git-annex init git-annex enableremote lfs git-annex enableremote gdrive git-annex sync --content #+end_src Synchronisation: =git annex sync --content= Copier les données depuis un remote #+begin_src sh git annex get . --from gdrive git annex copy . --to lfs #+end_src