# rsync with --ignored-vanished on site deploy

**Project:** Ploi Core | **Board:** Live | **Votes:** 1
**URL:** https://roadmap.ploi.io/projects/4-ploi-core-requests/items/1185-rsync-with-ignored-vanished-on-site-deploy

---

We noticed that for some apps the deployments (sometimes) fail with a warning like this:

```
rsync warning: some files vanished before they could be transferred (code 24) at main.c(1338) [sender=3.2.7]
```

These apps, indeed, frequently delete files from the app storage:
* we have a log rotating feature every minute
* the workers temporarily store some files to do their jobs


This warning would be bypassed if the deploy scripts would use `rsync` with `--ignore-vanished` flag.



---

## Comments

**Dennis** (2025-03-05T07:05:05+00:00):
I have done some testing with this, the --ignore-vanished flag is not a thing in rsync, is it? https://linux.die.net/man/1/rsync

**Bogdan** (2025-03-05T08:40:26+00:00):
Hi Dennis,

Thank you very much for looking into this! So sorry for the confusion!

There is the `--ignore-missing-args` flag in `rsync` since version 3.1.0 (Sep 2013).
https://download.samba.org/pub/rsync/NEWS#3.1.0

I think this one will do the trick!

Thank you again for your support!

**Dennis** (2025-03-06T08:03:48+00:00):
Aaah yes, I see that now! Will add that today.

