Specific path for access on Drive

I only want to open a specific file and not
/
source;
IsaricGdrive:/Test
destination:

/home/isaric/IsaricGdrive/Test

What should be changed on
rclone.conf

Thank you in advance

Rclone does not open any files. So not sure what you are talking about.

I suggest you follow the template and answer all questions you ignored.

Describe what your are doing and what does not work.

I don't speak English, sorry.
I use "RClone Shuttle" to open a Google Drive cloud.
It opens all the folders, and I want to open just one and know what to modify by editing the rclone.conf file.

It is your problem. Use Google translate or similar tools.

Thanks, that's what I did here and it probably isn't very clear apparently. :expressionless_face:

a bit like the command does:
rclone mount IsaricGdrive:/Test /home/isaric/IsaricGdrive/Test
Can we have this direct opening to this folder by including it in the configuration of
rclone.conf

Isn't this:

the same as this:

rclone mount IsaricGdrive:/ /home/isaric/IsaricGdrive/

I mean it will have the same end result.

[Test]
type = alias
remote = IsaricGdrive:/Test
rclone ls Test:
rclone mount Test: /home/isaric/IsaricGdrive/Test

Thanks @kapitainsky, @dinosm, @asdffdsa :slightly_smiling_face:

I added

[IsaricGdrive] type = alias remote = IsaricGdrive:/Test scope = drive token = {"access_token"….


:~$ rclone ls IsaricGdrive
2025/06/03 17:27:14 NOTICE: "IsaricGdrive" refers
to a local folder, use "IsaricGdrive:" to refer to your
remote or "./IsaricGdrive" to hide this warning

      0 .sync-exclude.lst
      311 ATTENTION - À LIRE EN PREMIER.txt
	542 .Trash-1000/expunged/1699469574
   103218 .Trash-1000/expunged/900004753
   381121 Test/1 (Copie).jpg
   381121 Test/1.jpg
     9265 Test/1.pdf
       67 Test/1RR_5Wa4g4YWyj_AIN2DlyZFMyA3WN1KM.txt
   102992 Test/GIMP300 sousSNAP.png
    33138 Test/Google_drive TXT.png
    28688 Test/Google_drive enregistrementSousTXT-R.png
    41791 Test/Google_drive enregistrementSousTXT.png
    13073 Test/Test0101251303 (Copie).odt
    13544 Test/Test1912241515d-2.odt
    13702 Test/Test310525 1707.odt
       67 Test/test1.txt
:~$

a) Can we hide files? .Trash Should we change by
scope = drive
by?

b)Can put multiple folders, in addition to /Test, /Test2?

so, that should be rclone ls IsaricGdrive:

Sorry

:~$ rclone about IsaricGdrive: 2025/06/03 18:06:23 CRITICAL: Failed to create file system for "IsaricGdrive:": can't point alias remote at itself - check the value of the remote setting :~$

the alias remote must have a different name than the remote it points to.
follow my example, i named the alias remote Test

I put

[Test]
type = alias
remote = IsaricGdrive:/Test
scope = drive
token = {"access_token":"...","token_type":"Bearer","refresh_token":"...","expiry":"0001-01-01T00:00:00.00+02:00"}

This done

:~$ rclone mount Test: /home/isaric/IsaricGdrive/Test
2025/06/03 19:02:49 CRITICAL: Failed to create file system for "Test:": didn't find section in config file ("IsaricGdrive")
:~$ rclone about Test:
2025/06/03 19:03:11 CRITICAL: Failed to create file system for "Test:": didn't find section in config file ("IsaricGdrive")
:~$ rclone mount Test:/Test /home/isaric/IsaricGdrive/Test
2025/06/03 19:04:50 CRITICAL: Failed to create file system for "Test:/Test": didn't find section in config file ("IsaricGdrive")
isaric@isaric-p6-2007frm:~$

need TWO remotes

  1. IsaricGdrive
  2. Test

You absolutely have to put both

IsaricGdrive         drive
Test                 alias

If I understood something :thinking:

:~$ rclone ls Test:
     14202 Test_00.odt
        69 test_00.txt
      9265 1.pdf
    381121 1 (Copie).jpg
    381121 1.jpg
    102992 GIMP300 sousSNAP.png
     41791 Google_drive enregistrementSousTXT.png
     33138 Google_drive TXT.png
     28688 Google_drive enregistrementSousTXT-R.png
        67 1RR_5Wa4g4YWyj_AIN2DlyZFMyA3WN1KM.txt
 :~$
:~$ rclone config

Current remotes:

Name                 Type
====                 ====
IsaricGdrive         drive
Test                 alias

e) Edit existing remote
n) New remote
d) Delete remote
r) Rename remote
c) Copy remote
s) Set configuration password
q) Quit config
e/n/d/r/c/s/q>
rclone config redacted

Thanks asdffdsa

:~$ rclone config redacted
[IsaricGdrive]
type = drive
scope = drive
token = XXX
team_drive = 

[Test]
type = alias
remote = IsaricGdrive:/Test
### Double check the config for sensitive info before posting publicly

I tried the other command given previously:

:~$ rclone mount Test: /home/isaric/IsaricGdrive/Test
2025/06/03 19:27:55 CRITICAL: Fatal error: mounting is not supported when running from snap
:~$

Due to the strict confinement of Snap, rclone mount feature is not supported.

  1. uninstall rclone via snap
  2. install rclone via https://rclone.org/install/#script-installation

I installed

wget
https://downloads.rclone.org/rclone-current-linux-amd64.deb

I am now told

:~$ rclone mount Test: /home/isaric/IsaricGdrive/Test
2025/06/03 20:47:56 CRITICAL: Fatal error: failed to mount FUSE fs: cannot open: /home/isaric/IsaricGdrive/Test: open /home/isaric/IsaricGdrive/Test: no such file or directory
:~$
mkdir /home/isaric/IsaricGdrive/Test