![]() If you run into any problems, please check for issues on GitHub. Users are responsible for ensuring aĬonfig file with valid credentials is available. Additional discussion about chunk size can be foundĪt this time, this remote does NOT store your credentials in git-annex. Trips to and from your cloud provider and may be faster. Smaller chunk sizes: leak less information about the size of file size of files in your repository, require less ram,Īnd require less data to be re-transmitted when network connectivity is interrupted. Your cloud storage provider for uploads and downloads, you won't need to worry about running into issues with file size. By using a chunk size below the maximum file size supported by This was the only available layout in early versions of git-annex-remote-rclone, up to release v0.1.Ĭhoose your chunk size based on your needs.This layout should not be used except if you already have a legacy remote using this layout and do not wish to migrate.frankencase - A two-level lower case directory hierarchy is used (using git-annex's DIRHASH format, with all characters translated to lower case).mixed - A two-level mixed case directory hierarchy is used (using git-annex's DIRHASH format).This choice requires git-annex 6.20160511 or later. directory - A two-level lower case directory hierarchy is used, along with the key name as a 3rd level nested directory.lower - A two-level lower case directory hierarchy is used (using git-annex's DIRHASH-LOWER MD5-based format).This is the simplest and most efficient layout for Google Drive.nodir - No directory hierarchy is used.The following layouts are currently supported: So the best option for special remotes on GD is the nodir layout. On the other hand, it's perfectly fine to have thousands of files in one Google Drive folder as it doesn't event use a folder structure internally. Google Drive requires us to traverse the whole path on each file operation, which results in a noticeable performance loss (especially during upload). But you might want to consider migrating the layout to nodir to get the best performance. Even with a two-level hierarchy, gdrive is still significantly faster than rclone on Google Drive (~factor 3). You can keep your repository layout if you want. You can explicitely specify the layout with the option gdrive_layout (which works on initremote and enableremote). git-annex-remote-gdrive supports all repository layouts currently supported by git-annex-remote-rclone and will automatically import its options if nothing is specified. If you're switching from git-annex-remote-rclone, it's as simple as typing git annex enableremote externaltype=gdrive. Using an existing remote (note on repository layout) To debug issues, use the -debug flag, i.e. The initremote command calls out to GPG and can hang if a machine has insufficient entropy. Git annex initremote google type=external externaltype=gdrive prefix=git-annex chunk=50MiB encryption=shared mac=HMACSHA512 Stores your files in a folder/prefix called git-annex:.Encrypts all chunks prior to uploading and stores the key within the annex repository.gdrive aboutĬreate a git-annex repository ( walkthrough)Īdd a remote for Google Drive. To create a gdrive config file, just use any gdrive command: eg. Copy git-annex-remote-gdrive into your $PATH.usr/local/bin (There is an AUR package available for Arch Linux.) It may or may not work with older versions. The current version of git-annex-remote-gdrive has been tested with gdrive version 2.1.0. I forked it in order to bypass some very annoying performance issues I was having with Google Drive via rclone. This wrapper around gdrive based on git-annex-remote-rclone aims to add direct support for Google Drive to git-annex. being even faster by keeping the HTTP connection open.using different Google accounts simultaniously.storing the credentials within the repository.The Python-based successor git-annex-remote-googledrive, however, includes some additional features such as git-annex-remote-gdrive should still work fine until maybe Google changes something on their side. Git-annex gdrive special remote Maintenance note
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |