# OSX : renaming a file in a rclone union folder copies the file to the local file system

**URL:** <https://forum.rclone.org/t/osx-renaming-a-file-in-a-rclone-union-folder-copies-the-file-to-the-local-file-system/11503>\
**Category:** Help and Support\
**Created:** [August 29, 2019, 10:29am UTC](https://forum.rclone.org/t/osx-renaming-a-file-in-a-rclone-union-folder-copies-the-file-to-the-local-file-system/11503 "2019-08-29T10:29:35Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![yericus](https://forum.rclone.org/letter_avatar_proxy/v4/letter/y/90db22/32.png) [@yericus](https://forum.rclone.org/u/yericus)\
**Post date:** [August 29, 2019, 10:29am UTC](https://forum.rclone.org/t/osx-renaming-a-file-in-a-rclone-union-folder-copies-the-file-to-the-local-file-system/11503/1 "2019-08-29T10:29:35Z")

</div>

Hello there,

I was wondering if this behavior is expected : on OSX, renaming a file from a mounted rclone union mount (gdrive --\> gcrypt --\> rclone union --\> mount) does not rename the file on gdrive but copies the file with the new filename to the writable local folder of the union mount.

Is this behavior expected ?

Animosity found that out on another problem I encountered here :

> [@Strange behavior with accentuated characters](https://forum.rclone.org/t/strange-behavior-with-accentuated-characters/11431/33):
>
> For the Sonarr/Radarr rename, I'm quite puzzled as instead of a rename, it seems to be issuing a link command: 2019/08/26 13:36:34 DEBUG : TV/Undercover.Boss.US/: Link: req=Link [ID=0x5040f6 Node=0x135a Uid=1000 Gid=1000 Pid=2383] node 5043 to "Undercover.Boss.US.S09E06.mp4", old=TV/Undercover.Boss.US/Undercover.Boss.(US).S09E06.mp4 2019/08/26 13:36:34 DEBUG : TV/Undercover.Boss.US/: \>Link: new=\<nil\>, err=function not implemented I was testing that out as well and that is why it downloads/reup…

Thank you !

---

<div class="post-metadata">

**Author:** ![Animosity022](https://forum.rclone.org/user_avatar/forum.rclone.org/animosity022/32/451_2.png) [@Animosity022](https://forum.rclone.org/u/Animosity022)\
**Post date:** [August 29, 2019, 10:32am UTC](https://forum.rclone.org/t/osx-renaming-a-file-in-a-rclone-union-folder-copies-the-file-to-the-local-file-system/11503/2 "2019-08-29T10:32:30Z")

</div>

How are you renaming it though? I can Sonarr/Radarr were doing a "link" command, which I'm not sure why.

---

<div class="post-metadata">

**Author:** ![yericus](https://forum.rclone.org/letter_avatar_proxy/v4/letter/y/90db22/32.png) [@yericus](https://forum.rclone.org/u/yericus)\
**Post date:** [August 29, 2019, 10:36am UTC](https://forum.rclone.org/t/osx-renaming-a-file-in-a-rclone-union-folder-copies-the-file-to-the-local-file-system/11503/3 "2019-08-29T10:36:22Z")

</div>

It does the same thing if I rename directly in the finder.

Downloads the file with the proper filename and deletes the original one from gdrive, not reuploading anything (nothing is set up for uploads from my mount).

I identified the issue with the accents and posted the identified problem in the first post by the way ! Well ... I think so. And the solution seems out of my reach.

---

<div class="post-metadata">

**Author:** ![Animosity022](https://forum.rclone.org/user_avatar/forum.rclone.org/animosity022/32/451_2.png) [@Animosity022](https://forum.rclone.org/u/Animosity022)\
**Post date:** [August 29, 2019, 10:40am UTC](https://forum.rclone.org/t/osx-renaming-a-file-in-a-rclone-union-folder-copies-the-file-to-the-local-file-system/11503/4 "2019-08-29T10:40:25Z")

</div>

I don't see the same thing.

When I run a mount and in finder, it does a move command:

```auto
2019/08/29 06:39:13 DEBUG : test.txt: >Attr: a=valid=1s ino=0 size=104857600 mode=-rw-r--r--, err=<nil>
2019/08/29 06:39:13 DEBUG : /: Rename: oldName="test.txt", newName="testing.txt", newDir=/
2019/08/29 06:39:15 INFO : test.txt: Moved (server side)
2019/08/29 06:39:15 DEBUG : test.txt: Updating file with testing.txt 0xc0005a17c0

```

Can you do the same thing and run your mount with -vv and share the log?

---

<div class="post-metadata">

**Author:** ![yericus](https://forum.rclone.org/letter_avatar_proxy/v4/letter/y/90db22/32.png) [@yericus](https://forum.rclone.org/u/yericus)\
**Post date:** [August 29, 2019, 10:45am UTC](https://forum.rclone.org/t/osx-renaming-a-file-in-a-rclone-union-folder-copies-the-file-to-the-local-file-system/11503/5 "2019-08-29T10:45:29Z")

</div>

Need to clean up the house and myself for dinner while plex needs to update some libraries lost when I was testing stuff, but will try to do that today.

---

<div class="post-metadata">

**Author:** ![Animosity022](https://forum.rclone.org/user_avatar/forum.rclone.org/animosity022/32/451_2.png) [@Animosity022](https://forum.rclone.org/u/Animosity022)\
**Post date:** [August 29, 2019, 10:46am UTC](https://forum.rclone.org/t/osx-renaming-a-file-in-a-rclone-union-folder-copies-the-file-to-the-local-file-system/11503/6 "2019-08-29T10:46:02Z")

</div>

Why would you eat dinner at 645am in the morning? It's clearly breakfast time 😉

---

<div class="post-metadata">

**Author:** ![yericus](https://forum.rclone.org/letter_avatar_proxy/v4/letter/y/90db22/32.png) [@yericus](https://forum.rclone.org/u/yericus)\
**Post date:** [August 29, 2019, 10:47am UTC](https://forum.rclone.org/t/osx-renaming-a-file-in-a-rclone-union-folder-copies-the-file-to-the-local-file-system/11503/7 "2019-08-29T10:47:37Z")

</div>

Ahah it is not in Thailand (think tropical rain and wind that dreams itself a hurricane Thailand rather than dreamy beaches today though).

---

<div class="post-metadata">

**Author:** ![system](https://forum.rclone.org/uploads/default/original/2X/3/39ad3235f6ffec76ccd0c81616bd55697b4c300d.png) [@system](https://forum.rclone.org/u/system)\
**Post date:** [November 27, 2019, 10:47am UTC](https://forum.rclone.org/t/osx-renaming-a-file-in-a-rclone-union-folder-copies-the-file-to-the-local-file-system/11503/8 "2019-11-27T10:47:40Z")

</div>

Closed on November 27, 2019, 10:47am UTC

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