Is it possible to make all crypts visibile with serve in one Folder?

What is the problem you are having with rclone?

is it possible to provide multiple crypt's using serve so that they are displayed as subfolders?

for example i have a sftp running on the crypt dbcryptanime-serien, i want the same for movies, etc but i don't want to log in to each sftp individually.

so that when I log on to the sftp it looks something like this:
Movies ( points to -> dbcrypt-movies)
Series ( "" -> dbcrypt-tv)
Anime-Series ( "" -> dbanime-series)
Anime Movies ( "" -> dbanime-movies)

Run the command 'rclone version' and share the full output of the command.

rclone v1.62.2

  • os/version: debian 11.7 (64 bit)
  • os/kernel: 6.1.0-0.deb11.6-amd64 (x86_64)
  • os/type: linux
  • os/arch: amd64
  • go/version: go1.20.2
  • go/linking: static
  • go/tags: none

Which cloud storage system are you using? (eg Google Drive)

Dropbox

The command you were trying to run (eg rclone copy /tmp remote:tmp)

[Unit]
Description=Rclone VFS Mount
After=network-online.target

[Service]
User=root
Group=root
Type=simple
ExecStartPre=/bin/sleep 10
ExecStart=/usr/bin/rclone serve sftp dbcryptanime-serien:
--config=/root/.config/rclone/rclone.conf
--addr 192.168.178.44:2022
--no-auth
--no-modtime
--timeout=11m
--contimeout 3m
--log-level ERROR
--log-file /opt/rclone/logs/rclone-serv-anime.log
RestartSec=5
LimitNOFILE=infinity

The rclone config contents with secrets removed.

[DBMovies]
type = dropbox
token = {"access_token":"s","token_type":"bearer","refresh_token":"","expiry":">

[DBTV]
type = dropbox
token = {"access_token":"","token_type":"bearer","refresh_token":"","expiry":">

[dbcrypt-movies]
type = crypt
remote = DBMovies:Movies
password = xxx
password2 = xxx

[dbcrypt-tv]
type = crypt
remote = DBTV:TV
password = xxx
password2 = xxx

[dbanime-serien]
type = dropbox
token = {"access_token":"","token_type":"bearer","refresh_token":"","expiry":">

[dbcryptanime-serien]
type = crypt
remote = dbanime-serien:Anime/Serien
password = xxx
password2 = xxx

[dbanime-filme]
type = dropbox
token = {"access_token":"","token_type":"bearer","refresh_token":"","expiry":">

[dbcryptanime-filme]
type = crypt
remote = dbanime-filme:Anime/Filme
password =
password2 =

https://rclone.org/combine/
so something like

[allcrypts]
type = combine
upstreams = Movies=dbcrypt-movies: Series=dbcrypt-tv: Anime-Series=dbanime-series: Anime-Movies:dbanime-movies

and
ExecStart=/usr/bin/rclone serve sftp allcrypts:

... sometimes i'm just blind.

thank you for the quick solution, already googled for a hour to find a solution, but it didn't occur to me to take a look at the docs. :sweat_smile:

welcome.

yeah, been there done that ;wink

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.