What is the problem you are having with rclone?
This command works properly…
rclone copy "New_Rclone_Google_Drive_to_local_SSD,root_folder_id=1UCuGuJ7U9M5O4sbEzZE09lDCBXfVh9de:" "/media/y/Backup/data_I_backed_up_from_Google_Drive_using_rclone" -vv
in all cases I have tried, except for cases where a file or files have a very long path name.
It fails to copy files that have very long path names.
By the way, I searched this forum for “file name too long” because I presumed this forum must have topics on this subject. After perusing the search results, I guessed that Rclone vfs cache says file name too long seems like it is closest to solving my problem, yet I don't think it actually solves my problem.
Run the command 'rclone version' and share the full output of the command.
rclone v1.65.0
- os/version: linuxmint 21.2 (64 bit)
- os/kernel: 5.15.0-89-generic (x86_64)
- os/type: linux
- os/arch: amd64
- go/version: go1.21.4
- go/linking: static
- go/tags: none
Rclone downloads
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
)
I included that above.
Please run 'rclone config redacted' and share the full output. If you get command not found, please make sure to update rclone.
[New_Rclone_Google_Drive_to_local_SSD]
type = drive
scope = drive.readonly
token = XXX
team_drive =
A log from the command that you were trying to run with the -vv
flag
Please note that the ridiculously long file name below is not indicative of the way that I normally name files on Google drive. I was simply trying to quickly replicate a long path for testing purposes.
~$ rclone copy "New_Rclone_Google_Drive_to_local_SSD,root_folder_id=1UCuGuJ7U9M5O4sbEzZE09lDCBXfVh9de:" "/media/y/Backup/data_I_backed_up_from_Google_Drive_using_rclone" -vv
2023/12/13 06:54:28 DEBUG : rclone: Version "v1.65.0" starting with parameters ["rclone" "copy" "New_Rclone_Google_Drive_to_local_SSD,root_folder_id=1UCuGuJ7U9M5O4sbEzZE09lDCBXfVh9de:" "/media/y/Backup/data_I_backed_up_from_Google_Drive_using_rclone" "-vv"]
2023/12/13 06:54:28 DEBUG : Creating backend with remote "New_Rclone_Google_Drive_to_local_SSD,root_folder_id=1UCuGuJ7U9M5O4sbEzZE09lDCBXfVh9de:"
2023/12/13 06:54:28 DEBUG : Using config file from "/home/y/.config/rclone/rclone.conf"
2023/12/13 06:54:28 DEBUG : New_Rclone_Google_Drive_to_local_SSD: detected overridden config - adding "{nFDSF}" suffix to name
2023/12/13 06:54:28 DEBUG : fs cache: renaming cache item "New_Rclone_Google_Drive_to_local_SSD,root_folder_id=1UCuGuJ7U9M5O4sbEzZE09lDCBXfVh9de:" to be canonical "New_Rclone_Google_Drive_to_local_SSD{nFDSF}:"
2023/12/13 06:54:28 DEBUG : Creating backend with remote "/media/y/Backup/data_I_backed_up_from_Google_Drive_using_rclone"
2023/12/13 06:54:28 DEBUG : New_Rclone_Google_Drive_to_local_SSD{nFDSF}: Loaded invalid token from config file - ignoring
2023/12/13 06:54:28 DEBUG : Saving config "token" in section "New_Rclone_Google_Drive_to_local_SSD" of the config file
2023/12/13 06:54:28 DEBUG : New_Rclone_Google_Drive_to_local_SSD{nFDSF}: Saved new token in config file
2023/12/13 06:54:28 DEBUG : d—1—Trash this. .docx: Need to transfer - File not found at Destination
2023/12/13 06:54:28 DEBUG : d—1—I can use the same shortcut to launch different scripts... TESTING SCRIPTS1/Same shortcut ... Firefox or Google Doc.py.docx: Need to transfer - File not found at Destination
2023/12/13 06:54:28 DEBUG : d—1—This is test document 1..docx: Need to transfer - File not found at Destination
2023/12/13 06:54:28 DEBUG : d—1—Have I received a response to this topic I posted on our Rclone?.docx: Need to transfer - File not found at Destination
2023/12/13 06:54:28 DEBUG : Local file system at /media/y/Backup/data_I_backed_up_from_Google_Drive_using_rclone: Waiting for checks to finish
2023/12/13 06:54:28 DEBUG : Local file system at /media/y/Backup/data_I_backed_up_from_Google_Drive_using_rclone: Waiting for transfers to finish
2023/12/13 06:54:29 DEBUG : Local file system at /media/y/Backup/data_I_backed_up_from_Google_Drive_using_rclone: File to upload is small (6631 bytes), uploading instead of streaming
2023/12/13 06:54:29 DEBUG : d—1—This is test document 1..docx.tumosex0.partial: md5 = 42a06c01d1019d559be9a2eab76c5b79 OK
2023/12/13 06:54:29 DEBUG : d—1—This is test document 1..docx.tumosex0.partial.joqexun6.partial: renamed to: d—1—This is test document 1..docx.tumosex0.partial
2023/12/13 06:54:29 INFO : d—1—This is test document 1..docx.tumosex0.partial: Copied (new)
2023/12/13 06:54:29 DEBUG : d—1—This is test document 1..docx: Updating size of doc after download to 6631
2023/12/13 06:54:29 DEBUG : d—1—This is test document 1..docx: Src hash empty - aborting Dst hash check
2023/12/13 06:54:29 DEBUG : d—1—This is test document 1..docx.tumosex0.partial: renamed to: d—1—This is test document 1..docx
2023/12/13 06:54:29 INFO : d—1—This is test document 1..docx: Copied (Rcat, new)
2023/12/13 06:54:29 DEBUG : Local file system at /media/y/Backup/data_I_backed_up_from_Google_Drive_using_rclone: File to upload is small (9401 bytes), uploading instead of streaming
2023/12/13 06:54:29 DEBUG : d—1—Have I received a response to this topic I posted on our Rclone?.docx.nolitax3.partial: md5 = 3bf1fe2b748da6b84355ef0cc4027d3d OK
2023/12/13 06:54:29 DEBUG : d—1—Have I received a response to this topic I posted on our Rclone?.docx.nolitax3.partial.zesojis1.partial: renamed to: d—1—Have I received a response to this topic I posted on our Rclone?.docx.nolitax3.partial
2023/12/13 06:54:29 INFO : d—1—Have I received a response to this topic I posted on our Rclone?.docx.nolitax3.partial: Copied (new)
2023/12/13 06:54:29 DEBUG : d—1—Have I received a response to this topic I posted on our Rclone?.docx: Updating size of doc after download to 9401
2023/12/13 06:54:29 DEBUG : d—1—Have I received a response to this topic I posted on our Rclone?.docx: Src hash empty - aborting Dst hash check
2023/12/13 06:54:29 DEBUG : d—1—Have I received a response to this topic I posted on our Rclone?.docx.nolitax3.partial: renamed to: d—1—Have I received a response to this topic I posted on our Rclone?.docx
2023/12/13 06:54:29 INFO : d—1—Have I received a response to this topic I posted on our Rclone?.docx: Copied (Rcat, new)
2023/12/13 06:54:30 DEBUG : d—1—Trash this. I gave this an extremely long file name to test Rclone. .docx.hefuzoj6.partial: md5 = 3b5c5e0a091ee588449ea91dff857197 OK
2023/12/13 06:54:30 DEBUG : d—1—Trash this. I gave this an extremely long file name to test Rclone. .docx.hefuzoj6.partial: Size and md5 of src and dst objects identical
2023/12/13 06:54:30 DEBUG : d—1—Trash this. I gave this an extremely long file name to test Rclone. .docx: Updating size of doc after download to 218687
2023/12/13 06:54:30 DEBUG : d—1—Trash this. I gave this an extremely long file name to test Rclone. .docx: Src hash empty - aborting Dst hash check
2023/12/13 06:54:30 DEBUG : d—1—Trash this. I gave this an extremely long file name to test Rclone. .docx.hefuzoj6.partial: renamed to: d—1—Trash this. I gave this an extremely long file name to test Rclone. .docx
2023/12/13 06:54:30 INFO : d—1—Trash this. I gave this an extremely long file name to test Rclone. .docx: Copied (Rcat, new)
2023/12/13 06:54:30 DEBUG : d—1—I can use the same shortcut to launch different scripts... TESTING SCRIPTS1/Same shortcut ... Firefox or Google Doc.py.docx.fibuyij1.partial: md5 = 3b5c5e0a091ee588449ea91dff857197 OK
2023/12/13 06:54:30 DEBUG : d—1—I can use the same shortcut to launch different scripts... TESTING SCRIPTS1/Same shortcut ... Firefox or Google Doc.py.docx.fibuyij1.partial: Size and md5 of src and dst objects identical
2023/12/13 06:54:30 DEBUG : d—1—I can use the same shortcut to launch different scripts... TESTING SCRIPTS1/Same shortcut ... Firefox or Google Doc.py.docx: Updating size of doc after download to 218687
2023/12/13 06:54:30 DEBUG : d—1—I can use the same shortcut to launch different scripts... TESTING SCRIPTS1/Same shortcut ... Firefox or Google Doc.py.docx: Src hash empty - aborting Dst hash check
2023/12/13 06:54:30 DEBUG : d—1—I can use the same shortcut to launch different scripts... TESTING SCRIPTS1/Same shortcut ... Firefox or Google Doc.py.docx.fibuyij1.partial: renamed to: d—1—I can use the same shortcut to launch different scripts... TESTING SCRIPTS1/Same shortcut ... Firefox or Google Doc.py.docx
2023/12/13 06:54:30 INFO : d—1—I can use the same shortcut to launch different scripts... TESTING SCRIPTS1/Same shortcut ... Firefox or Google Doc.py.docx: Copied (Rcat, new)
2023/12/13 06:54:30 INFO :
Transferred: 458.436 KiB / 458.436 KiB, 100%, 0 B/s, ETA -
Transferred: 8 / 8, 100%
Elapsed time: 2.2s
2023/12/13 06:54:30 DEBUG : 27 go routines active