I am new so please forgive my ignorance, but I am confused about the examples that I have seen with regard to uploading to google drive. For example, if I want to upload documents to gdrive, is there a difference between “rclone copy /path/to/files gdrive:documents” vs “rclone copy /path/to/files gdrive:/documents”? In short, I want to know if the slash before “documents” is needed or if there is a benefit to using or not using it. Thanks in advance for your help!
No. It's the same thing.
Edit: I'm not quite correct. Read further
hello and welcome to the forum,
for onedrive, both would work.
but as per the documents.
this is preferred
The full answer is it depends on the backend. Most backends don't care - I tend to leave it out. For example the SFTP backend sftp:file.txt will access
file.txt in your home directory, but
sftp:/file.txt will access
This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.