"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files
Go azure-blobazure-blob-storageazure-filesbackblaze-b2cloud-storagedropboxencryptionftpfuse-filesystemgogolanggoogle-cloud-storagegoogle-driveonedriveopenstack-swiftrclones3sftpsyncwebdav
build: add snap installation
hideo aoyama923989d1d7ff
diff --git a/MAINTAINERS.md b/MAINTAINERS.mdindex c233c50c2..de574cea8 100644--- a/MAINTAINERS.md+++ b/MAINTAINERS.md@@ -19,6 +19,7 @@ Current active maintainers of rclone are:| wiserain | @wiserain | pikpak backend || albertony | @albertony | || Chun-Hung Tseng | @henrybear327 | Proton Drive Backend |+| Hideo Aoyama | @boukendesho | snap packaging |**This is a work in progress Draft**diff --git a/docs/content/install.md b/docs/content/install.mdindex 5f34af3d3..1965e7d19 100644--- a/docs/content/install.md+++ b/docs/content/install.md@@ -290,6 +290,28 @@ docker run --rm \ls ~/data/mountkill %1```+## Snap installation {#snap}++[](https://snapcraft.io/rclone)++Make sure you have [Snapd installed](https://snapcraft.io/docs/installing-snapd)++```bash+$ sudo snap install rclone+```+Due to the strict confinement of Snap, rclone snap cannot acess real /home/$USER/.config/rclone directory, default config path is as below.++- Default config directory:+ - /home/$USER/snap/rclone/current/.config/rclone++Note: Due to the strict confinement of Snap, `rclone mount` feature is `not` supported.++If mounting is wanted, either install a precompiled binary or enable the relevant option when [installing from source](#source).++Note that this is controlled by [community maintainer](https://github.com/boukendesho/rclone-snap) not the rclone developers so it may be out of date. Its current version is as below.++[](https://snapcraft.io/rclone)+## Source installation {#source}diff --git a/lib/buildinfo/snap.go b/lib/buildinfo/snap.gonew file mode 100644index 000000000..0cc8abd21--- /dev/null+++ b/lib/buildinfo/snap.go@@ -0,0 +1,8 @@+//go:build snap+// +build snap++package buildinfo++func init() {+ Tags = append(Tags, "snap")+}