Received: from mail.mathadvance.org (mail.mathadvance.org [45.32.70.22]) by nld3-dev1.alpinelinux.org (Postfix) with ESMTPS id 0EF55780E48 for <~alpine/users@lists.alpinelinux.org>; Wed, 8 Jun 2022 19:45:50 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 57D9D3EDEE9; Wed, 8 Jun 2022 19:45:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dennisc.net; s=dkim; t=1654717548; h=from:subject:date:message-id:to:cc:mime-version:content-type: content-transfer-encoding:in-reply-to:references; bh=bR6usHDk6vO4avnOvY36OOYCHVHTLuiO8PIvYTBzZ2I=; b=hS2iUTQNAU6qHOEbFVvdzsauJURTWWcEhoNTu2UUJj5t4UofUIy3HBc1Urn1ZncnkDGL04 8WZi3MPJEoqg+5riFjFLQm1Jh0XaEoyqzenZgFzGUmpSVnyqQhMKqSYoMU1R7yG3g65rXD 4k3b4Lj/RO140hJIAHlRXu7tisHTGS8= Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Date: Wed, 08 Jun 2022 14:45:31 -0500 Message-Id: Cc: Subject: Re: Adding Dropbox and updating rclone on wiki? From: "Dennis Chen" To: "Dennis Chen" , <~alpine/users@lists.alpinelinux.org> References: In-Reply-To: X-Last-TLS-Session-Version: TLSv1.3 I've written up a wiki article on Dropbox but cannot post it. It says: > Error: This action has been automatically identified as harmful, and > therefore disallowed. If you believe your action was constructive, > please inform an administrator of what you were trying to do. A brief > description of the abuse rule which your action matched is: Spammers not > welcome I also cannot verify my email on the wiki: it won't send the verification email to my address. Here's the article, hopefully someone else can post it: > [https://www.dropbox.com/ Dropbox] is a cloud-based file store > service. >=20 > =3D Syncing with rclone =3D >=20 > The official Dropbox client is fairly difficult to setup on Alpine. If > all you need is file syncing and you're fine with using a CLI to do it, > you can use [https://rclone.org/docs/ rclone]. >=20 > Run >
> # apk add rclone
> 
> to install rclone. >=20 > Then run >
> $ rclone config
> 
> and you will be greeted with a series of interactive prompts. >=20 > First you start making a new remote. >
> n) New remote
> d) Delete remote
> q) Quit config
> e/n/d/q> n
> 
>=20 > Then you need to give this new remote a name; it hardly matters what it > is, but for this guide we'll just call it "dropbox".=20 >
> name> dropbox
> 
>=20 > Then you will be asked what kind of storage you want to use. Look for > the option that says "Dropbox" (as of the time of writing, it is 12), > and input that. >
> Option Storage.
> Type of storage to configure.
> Choose a number from below, or type in your own value.
> ...
> Storage> 12
> 
>=20 > Then you will be asked about "OAuth Client Id" and "OAuth Client > Secret". Just leave those blank by pressing Enter as rclone instructs. > You'll be asked if you wanted to edit the advanced config and use auto > config too. Just press Enter to use the defaults, unless you have a > reason not to. >=20 > Finally, you will be prompted to allow rclone OAuth access to Dropbox. > Do this. If all went well, you should get a success message afterwards. >=20 > To sync, run >
> $ rclone sync ~/dropbox dropbox:
> 
> As long as this command is running, your local and remote Dropbox > directories will be synced. If you want, you may set up a daemon to keep > this persistently running. >=20 > More detailed usage instructions are also available at > [https://rclone.org/dropbox/ rclone's Dropbox page], and of course, the > man page for rclone.