# Syncing between windows source and linux destination temporary name

**URL:** <https://forum.rclone.org/t/syncing-between-windows-source-and-linux-destination-temporary-name/34479>\
**Category:** Help and Support\
**Created:** [December 2, 2022, 2:43pm UTC](https://forum.rclone.org/t/syncing-between-windows-source-and-linux-destination-temporary-name/34479 "2022-12-02T14:43:05Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![tshk](https://forum.rclone.org/user_avatar/forum.rclone.org/tshk/32/13647_2.png) [@tshk](https://forum.rclone.org/u/tshk)\
**Post date:** [December 2, 2022, 2:43pm UTC](https://forum.rclone.org/t/syncing-between-windows-source-and-linux-destination-temporary-name/34479/1 "2022-12-02T14:43:06Z")

</div>

I saw a few posts refering to this issue, but i couldn't find the final response.

I'm syncing files/dirs from a windows to a linux, the issue im sufferin is that the file on the destination host has the final filename instead of a temporary name until the sync finishes.

Is there any flag or configuration to set this up?

Thanks!

---

<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:** [December 2, 2022, 2:46pm UTC](https://forum.rclone.org/t/syncing-between-windows-source-and-linux-destination-temporary-name/34479/2 "2022-12-02T14:46:16Z")

</div>

Always super tough with no details and no help template.

Without knowing what backend you are using, what version, it's really tough as your question may make sense on certain backends, but doesn't on many others.

We have the template there to be used so please fill it out.

---

<div class="post-metadata">

**Author:** ![tshk](https://forum.rclone.org/user_avatar/forum.rclone.org/tshk/32/13647_2.png) [@tshk](https://forum.rclone.org/u/tshk)\
**Post date:** [December 2, 2022, 4:57pm UTC](https://forum.rclone.org/t/syncing-between-windows-source-and-linux-destination-temporary-name/34479/3 "2022-12-02T16:57:56Z")

</div>

I've completed the template, you can check it in pastebin:

> **[\#### The problemWell the problem was redacted before. I need on the destinat...](https://pastebin.com/j1cmvRLY)**
>
> Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.

Thanks!

---

<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:** [December 2, 2022, 5:17pm UTC](https://forum.rclone.org/t/syncing-between-windows-source-and-linux-destination-temporary-name/34479/4 "2022-12-02T17:17:08Z")

</div>

It's much easier to actually type it into the forum as the link to pastebin will eventually go away.

```auto
Destination:
2022/12/02 13:30:09 NOTICE: Config file "/root/.config/rclone/rclone.conf" not found - using defaults
rclone v1.36

```

What does that mean? That version is beyond ancient.

In the log file, not seeing any files transferred.

Rclone doesn't create temp files nor is there is any flag to my knowledge for SFTP.

If SFTP is your use case and that is a requirement, I'd use rsync personally.

---

<div class="post-metadata">

**Author:** ![tshk](https://forum.rclone.org/user_avatar/forum.rclone.org/tshk/32/13647_2.png) [@tshk](https://forum.rclone.org/u/tshk)\
**Post date:** [December 2, 2022, 8:01pm UTC](https://forum.rclone.org/t/syncing-between-windows-source-and-linux-destination-temporary-name/34479/5 "2022-12-02T20:01:32Z")

</div>

You wont see any transfered files because all the files are already transfered. This is a production scenario. When a new file generates then it gets synced, there's no error, everything works as supposed BUT if someone tries to publicly download the file (from the sync destination) while its syncing from the source the file being incomplete its a problem. So that's why i asked if there's a flag or a configuration option to set a temporary filename on destination until the sync is finished, and then renamed to the correct file name.

Yes, the version is old because is the official version in the ubuntu repository, anyway if my problem would be fixed upgrading i could do it.

```auto
system:~# apt search rclone
rclone/bionic-updates,now 1.36-3ubuntu0.1 amd64 [installed]
  rsync for commercial cloud storage

```

---

<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:** [December 2, 2022, 8:08pm UTC](https://forum.rclone.org/t/syncing-between-windows-source-and-linux-destination-temporary-name/34479/6 "2022-12-02T20:08:47Z")

</div>

You don't want to use repos with rclone as they (as you see) are not maintained and not current.

> **[Install](https://rclone.org/install/)**
>
> Rclone Installation

is the supported install method as rclone doesn't control repos.

---

<div class="post-metadata">

**Author:** ![tshk](https://forum.rclone.org/user_avatar/forum.rclone.org/tshk/32/13647_2.png) [@tshk](https://forum.rclone.org/u/tshk)\
**Post date:** [December 2, 2022, 8:31pm UTC](https://forum.rclone.org/t/syncing-between-windows-source-and-linux-destination-temporary-name/34479/7 "2022-12-02T20:31:56Z")

</div>

Ok, no problem i'll upgrade it. But this is not the issue.. i'm not getting a simple and straight answer for my question.

---

<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:** [December 2, 2022, 8:43pm UTC](https://forum.rclone.org/t/syncing-between-windows-source-and-linux-destination-temporary-name/34479/8 "2022-12-02T20:43:09Z")

</div>

> [@tshk](#):
>
> i'm not getting a simple and straight answer for my question.

Is my answer not clear and simple?

> [@Animosity022](#):
>
> Rclone doesn't create temp files nor is there is any flag to my knowledge for SFTP.

^^^

---

<div class="post-metadata">

**Author:** ![ncw](https://forum.rclone.org/user_avatar/forum.rclone.org/ncw/32/18_2.png) [@ncw](https://forum.rclone.org/u/ncw)\
**Post date:** [December 3, 2022, 4:16pm UTC](https://forum.rclone.org/t/syncing-between-windows-source-and-linux-destination-temporary-name/34479/9 "2022-12-03T16:16:37Z")

</div>

> [@tshk](#):
>
> I'm syncing files/dirs from a windows to a linux, the issue im sufferin is that the file on the destination host has the final filename instead of a temporary name until the sync finishes.

In the local, ftp and sftp (and smb?) backends, partial uploads will overwrite existing full files. This isn't ideal and is something I'd like to change.

All of those backends can rename files, so we'd upload to a temporary file then rename it over the existing one.

Is that the kind of thing you are thinking of?

Here is a relevant issue: [add --partial flag to transfer as temporary partial file · Issue #3770 · rclone/rclone · GitHub](https://github.com/rclone/rclone/issues/3770)

---

<div class="post-metadata">

**Author:** ![tshk](https://forum.rclone.org/user_avatar/forum.rclone.org/tshk/32/13647_2.png) [@tshk](https://forum.rclone.org/u/tshk)\
**Post date:** [December 5, 2022, 3:47pm UTC](https://forum.rclone.org/t/syncing-between-windows-source-and-linux-destination-temporary-name/34479/10 "2022-12-05T15:47:42Z")

</div>

Hi, thank you both for your replies. Yes i was talking about that feature, a similar feature which rsync has.

---

<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:** [January 4, 2023, 3:48pm UTC](https://forum.rclone.org/t/syncing-between-windows-source-and-linux-destination-temporary-name/34479/11 "2023-01-04T15:48:34Z")

</div>

Closed on January 4, 2023, 3:48pm UTC

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