Skip to content
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

renaming the full path not just the current filename #1315

Open
toddfries opened this issue Jun 17, 2024 · 1 comment
Open

renaming the full path not just the current filename #1315

toddfries opened this issue Jun 17, 2024 · 1 comment

Comments

@toddfries
Copy link

Description

'rename' to a different path (within the same bucket I expect possible, to a different bucket may be more problematic)

Version

v1.0.7-beta.2-250-g21694eea

What operating system are you running (e.g. Ubuntu 22.04, macOS, Windows 11)?

Linux 6.1.0-21-amd64 Debian 6.1.90-1 (2024-05-03)

Anything else?

It's so easy to upload a file with scripts incorectly till scripts are vetted. I had copied a file to 'sia-test:zfs-snaps/foo.gz/foo.gz' and wanted to have it renamed to 'sia-test:zfs-snaps/foo.gz' .. ended up doing it in 2 parts, 'rclone move sia-test:zfs-snaps/foo.gz/foo.gz sia-test:zfs-snaps/foo.gz.1' then 'rclone move sia-test:zfs-snaps/foo.gz.1 sia-test:zfs-snaps/foo.gz' since moving it directly to the path I wanted detected a dir node 😭

@ChrisSchinnerl
Copy link
Member

Are you referring to the API or UI? Renaming within a bucket is supported in the API.
Theoretically you should also be able to do so in the UI by adding slashes to the name that you rename to.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants