litson
October 3, 2021, 2:23am
1
What is the problem you are having with rclone?
So someone has shared with me a folder and I'm trying to upload that folder to another account (remote) to do so I'm using the command I've posted below. Now, two things:
The directory was shared to another account of mine so I'm copying from one account/remote (that has the shared dir) to another account/remote (that is encrypted).
The crypt remote is pointing to a directory named "Folder_B" (that's the root of the crypt remote) inside that there is already a "Folder A" directory and rclone instead of creating the "Shared_name" directory in there is creating another "Folder_B" and doing all the operations there so I end up with two "Folder_B" directories in my drive.
Can someone test something similar? I don't understand why rclone created another Folder_B.
What is your rclone version (output from rclone version
)
1.56.1
Which cloud storage system are you using? (eg Google Drive)
Google Drive
The command you were trying to run (eg rclone copy /tmp remote:tmp
)
rclone copy remote_with_shared:Shared_Name "crypt_remote:Folder A\Shared_Name" --update --checksum --no-update-modtime --transfers 12 --checkers 14 --contimeout 60s --timeout 300s --retries 3 --low-level-retries 10 --create-empty-src-dirs --drive-chunk-size 128M --drive-shared-with-me
The rclone config contents with secrets removed.
[Google Drive]
type = drive
client_id = REDACTED
client_secret = REDACTED
scope = drive
token = REDACTED
[crypt_remote]
type = crypt
remote = Google Drive:Folder_B
filename_encryption = standard
directory_name_encryption = true
password = REDACTED
password2 = REDACTED
[remote_with_shared]
type = drive
client_id = REDACTED
client_secret = REDACTED
scope = drive
root_folder_id = rclone
token = REDACTED
team_drive =
A log from the command with the -vv
flag
I don't have any, I stopped the operation when I realized what was happening.
litson
October 3, 2021, 5:43pm
3
thanks! I'm subscribing to that issue now
ncw
(Nick Craig-Wood)
October 4, 2021, 6:59pm
4
@litson check out this comment which has a pretty good workaround
opened 04:47PM - 20 Oct 18 UTC
bug
Remote: Drive
waiting for reply...
needs retest
<!--
Welcome :-) We understand you are having a problem with rclone; we want … to help you with that!
If you've just got a question or aren't sure if you've found a bug then please use the rclone forum:
https://forum.rclone.org/
instead of filing an issue for a quick response.
If you think you might have found a bug, please can you try to replicate it with the latest beta?
https://beta.rclone.org/
If you can still replicate it with the latest beta, then please fill in the info below which makes our lives much easier. A log with -vv will make our day :-)
Thank you
The Rclone Developers
-->
#### What is the problem you are having with rclone?
On my Google Drive, I have a folder named Backups. When I copy files from my computer to that folder, the program is fine. However, when I copy files from a shared with me folder, it makes a new Backups folder.
`rclone copy --drive-shared-with-me "Drive:example shared with me.txt" Drive:Backups` is an example of what will create a new folder.
#### What is your rclone version (output from `rclone version`)
```
rclone v1.43.1
- os/arch: windows/amd64
- go version: go1.11
```
#### Which OS you are using and how many bits (eg Windows 7, 64 bit)
Windows 10, 64 bit
#### Which cloud storage system are you using? (eg Google Drive)
Google Drive
#### The command you were trying to run (eg `rclone copy /tmp remote:tmp`)
`rclone copy --drive-shared-with-me "Drive:Shared Folder/Shared Subdirectory" Drive:Backups`
#### A log from the command with the `-vv` flag (eg output from `rclone -vv copy /tmp remote:tmp`)
```
2018/10/20 12:45:52 DEBUG : rclone: Version "v1.43.1" starting with parameters ["rclone" "--drive-shared-with-me" "copy" "Drive:example shared with me.txt" "Drive:Backups" "-vv"]
2018/10/20 12:45:52 DEBUG : Using config file from "C:\\Users\\mostd\\.config\\rclone\\rclone.conf"
2018/10/20 12:45:53 DEBUG : example shared with me.txt: Couldn't find file - need to transfer
2018/10/20 12:45:56 INFO : example shared with me.txt: Copied (server side copy)
2018/10/20 12:45:56 INFO :
Transferred: 0 / 0 Bytes, -, 0 Bytes/s, ETA -
Errors: 0
Checks: 0 / 0, -
Transferred: 1 / 1, 100%
Elapsed time: 4.2s
2018/10/20 12:45:56 DEBUG : 4 go routines active
2018/10/20 12:45:56 DEBUG : rclone: Version "v1.43.1" finishing with parameters ["rclone" "--drive-shared-with-me" "copy" "Drive:example shared with me.txt" "Drive:Backups" "-vv"]
```
2 Likes
system
(system)
Closed
November 3, 2021, 6:59pm
5
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.