Is there a way to have slashes in file names?

What is the problem you are having with rclone?

I have a list of files that I am copying to google drive, but some of them have a slash in the file name. Is it possible to copy these files to google drive without the slash signifying a new directory? I have seen this be posted on Rclone but I couldn't find a solution to this.

What is your rclone version (output from rclone version)

rclone v1.54.0-beta.4755.c8a719ae0

  • os/arch: windows/amd64
  • go version: go1.15

Which OS you are using and how many bits (eg Windows 7, 64 bit)

indows/amd64

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

Direct Download Link to Google Drive

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

rclone copyurl -v "https://example.com" "gdrive:/AP Chemistry/AP Chemistry: 6.6-6.9 Enthalpy of Reaction/Formation and Hess's Law.mp4"

The rclone config contents with secrets removed.

Paste config here

A log from the command with the -vv flag

Paste  log here

The only option seems to be :

  -a, --auto-filename   Get the file name from the URL and use it for destination file path

I've tried that flag before but the file name from the url isn't the actual name of the file. I had to format the names with google sheets before pasting all of the commands in.

Thanks for the suggestion though!

You can use a unicode equivalent slash instead of /. I think if you do that then they will arrive as actual / on google drive.

Eg

rclone copyurl -v "https://example.com" "gdrive:/AP Chemistry/AP Chemistry: 6.6-6.9 Enthalpy of Reaction/Formation and Hess's Law.mp4"

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