# Unsync file doesn't delete it from computer

**URL:** <https://forums.insynchq.com/t/unsync-file-doesnt-delete-it-from-computer/12199>\
**Category:** Linux\
**Created:** [July 24, 2018, 3:26pm UTC](https://forums.insynchq.com/t/unsync-file-doesnt-delete-it-from-computer/12199 "2018-07-24T15:26:16Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![nsanz](https://forums.insynchq.com/user_avatar/forums.insynchq.com/nsanz/32/5293_2.png) [@nsanz](https://forums.insynchq.com/u/nsanz)\
**Post date:** [July 24, 2018, 3:26pm UTC](https://forums.insynchq.com/t/unsync-file-doesnt-delete-it-from-computer/12199/1 "2018-07-24T15:26:16Z")

</div>

Hi.

Recently I unsync some large files on my linux machine and the insync app shows me a warning telling me that the file will be removed from this computer but it will remain in google drive. But after checking the location of the files in my machine, i see that they are still there.

insync 1.4.9  
arch linux x64 (kde)

---

<div class="post-metadata">

**Author:** ![Hawk](https://forums.insynchq.com/user_avatar/forums.insynchq.com/hawk/32/3477_2.png) [@Hawk](https://forums.insynchq.com/u/Hawk)\
**Post date:** [July 24, 2018, 4:06pm UTC](https://forums.insynchq.com/t/unsync-file-doesnt-delete-it-from-computer/12199/2 "2018-07-24T16:06:19Z")

</div>

Are these files directly in the Insync/Google Drive top level folder or are they saved externally? I believe files are only locally deleted in the former case.

---

<div class="post-metadata">

**Author:** ![nsanz](https://forums.insynchq.com/user_avatar/forums.insynchq.com/nsanz/32/5293_2.png) [@nsanz](https://forums.insynchq.com/u/nsanz)\
**Post date:** [July 24, 2018, 4:58pm UTC](https://forums.insynchq.com/t/unsync-file-doesnt-delete-it-from-computer/12199/3 "2018-07-24T16:58:14Z")

</div>

The files are inside a teamdrive. Inside the teamdrive are several folders and subfolder. I unsync some files that are inside this folders and subfolders.  
Also, recently I have changed the default location of the my drive and teamdrive folders.

---

<div class="post-metadata">

**Author:** ![nsanz](https://forums.insynchq.com/user_avatar/forums.insynchq.com/nsanz/32/5293_2.png) [@nsanz](https://forums.insynchq.com/u/nsanz)\
**Post date:** [July 31, 2018, 2:52pm UTC](https://forums.insynchq.com/t/unsync-file-doesnt-delete-it-from-computer/12199/4 "2018-07-31T14:52:06Z")

</div>

I also unsync a teamdrive that is in a personalized location. Same behaviour

---

<div class="post-metadata">

**Author:** ![Gregory](https://forums.insynchq.com/user_avatar/forums.insynchq.com/gregory/32/4574_2.png) [@Gregory](https://forums.insynchq.com/u/Gregory)\
**Post date:** [August 1, 2018, 3:36am UTC](https://forums.insynchq.com/t/unsync-file-doesnt-delete-it-from-computer/12199/5 "2018-08-01T03:36:52Z")

</div>

Hey @nsanz,

Apologies for only getting back to you now. Unsyncing your files inside the Team Drive _should_ delete the local files. Could you email us at [support@insynchq.com](mailto:support@insynchq.com) with your log files and a link to this topic so our engineers can take a look at the issue? You can learn how to get your log files [here](https://help.insynchq.com/resolving-and-reporting-issues/general/how-to-find-the-log-files).

---

<div class="post-metadata">

**Author:** ![nsanz](https://forums.insynchq.com/user_avatar/forums.insynchq.com/nsanz/32/5293_2.png) [@nsanz](https://forums.insynchq.com/u/nsanz)\
**Post date:** [August 24, 2018, 5:04pm UTC](https://forums.insynchq.com/t/unsync-file-doesnt-delete-it-from-computer/12199/6 "2018-08-24T17:04:06Z")

</div>

Recently I synced an iso file (teamdriveX/folder1/folder2/iso.iso), using the ui and telling insync that sync only that file. Today I remembered to delete it on my computer (unsync), as I don’t need it for now. Now this iso file got deleted on the pc, so it look like the problem disappear. Is normal that the folder path isn’t deleted?

\*just to mention, this iso is in another temdrive folder that I have never sync it to my computer before and I haven’t make any test on the problematic one (the temadrive where the problem was present).

---

<div class="post-metadata">

**Author:** ![Gregory](https://forums.insynchq.com/user_avatar/forums.insynchq.com/gregory/32/4574_2.png) [@Gregory](https://forums.insynchq.com/u/Gregory)\
**Post date:** [August 28, 2018, 6:26am UTC](https://forums.insynchq.com/t/unsync-file-doesnt-delete-it-from-computer/12199/7 "2018-08-28T06:26:56Z")

</div>

Hey @nsanz,

If you unsynced the file only and not the folder, then only the file will be unsynced (or in your case, deleted). If you wish to have the folder deleted, you can unsync it. 🙂

---

<div class="post-metadata">

**Author:** ![nsanz](https://forums.insynchq.com/user_avatar/forums.insynchq.com/nsanz/32/5293_2.png) [@nsanz](https://forums.insynchq.com/u/nsanz)\
**Post date:** [August 28, 2018, 9:20pm UTC](https://forums.insynchq.com/t/unsync-file-doesnt-delete-it-from-computer/12199/8 "2018-08-28T21:20:14Z")

</div>

Just to add some information to the process I made:

1. using partial sync I tell insync to sync (download) a file that is inside subfolder of a teamdrive
2. after some days I tell insync to unsync this file.

The file got unsynced (deleted from my computer) but the folder path don’t. The folder path hasn’t any file synced inside it. Also All folders and files in that teamdrive are unsynced and the insync UI show me only the option of sync.

That the folder path is still there isn’t anoing, at least for me, but I mentioned it because I expected that it got deleted from my pc when I unsync all files inside it.

> If you unsynced the file only and not the folder, then only the file will be unsynced (or in your case, deleted). If you wish to have the folder deleted, you can unsync it.

In this topic, when I mention:

> I also unsync a teamdrive that is in a personalized location. Same behaviour

I did that, unsync the teamdrive folder, but that time the folder, and all files inside it, wasn’t deleted on my computer.
