Rclone on gdrive creates new folder each time :(

What is the problem you are having with rclone?

rclone on gdrive creates new folder each time when uploading a file

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

v1.61.1
OS: debian 11.6

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

gdrive

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

rclone "ids.txt" gdrive:folder_name/ids.txt

on gdrive I then see a new folder called ids.txt within which I see ids,txt file - this is not what I expected.

rclone copy copies from file or directory to directory.

If you want to name the destination then use rclone copyto

So either

rclone copy "ids.txt" gdrive:folder_name/

or

rclone copyto "ids.txt" gdrive:folder_name/ids.txt

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