New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mount: make rename fall back to copy then delete (was unable to move files in mounted hubic) #1965
Comments
openstack swift and hence hubic doesn't actually have a server side move. It does have a server side copy though. If you use It looks like I thought of implementing this in I'll re-purpose this ticket to implement that. In the mean time you can use |
I tried using |
That is unfortunate :-( I'd love to get some help with that or this issue if you've got the time! |
I hope this someday. I'm using the Rstudio server on the mounted Swift device, but Rstudio cannot save the working image, that works with the rename. |
Before this change remotes without server side Move (eg swift, s3, gcs) would not be able to rename files. After it means nearly all remotes will be able to rename files on rclone mount with the notable exceptions of b2 and yandex. This changes checks to see if the remote can do Move or Copy then calls `operations.Move` to do the actual move. This will do a server side Move or Copy but won't download and re-upload the file. It also checks to see if the destination exists first which avoids conflicts or duplicates. Fixes #1965 Fixes #2569
I have attempted to fix this here https://beta.rclone.org/branch/v1.43-096-ga9fc86f5-fix-2569-mount-move-beta/ (uploaded in 15-30 mins) Feedback welcome :-) |
This is working for me. Thanks. |
I've merged this fix to master now, it will be in the latest beta in 15-30 mins an in v1.44. |
I mounted a hubic remote target and tried to move a file:
My rclone command (
rclone mount -vv hubic_open:default ~/mnt/
) displayed the following error:I am using rclone v1.37 on Debian 9.2 amd64. This limitation is not mentioned in the online documentation. Renaming inside mounts works using Dropbox.
Having this feature on hubic would be very useful to me. I am actually trying to rename inside an encrypted storage based on the hubic target, so renaming using the webinterface is very hard.
The text was updated successfully, but these errors were encountered: