keybase / client

Keybase Go Library, Client, Service, OS X, iOS, Android, Electron
BSD 3-Clause "New" or "Revised" License
8.91k stars 1.23k forks source link

Reduce KBFS sync size #18317

Open feffi opened 5 years ago

feffi commented 5 years ago

Keybase GUI Version: 4.1.0-20190612165948+952fee6c59 + macOSX

Hi, my KBFS is getting really huge (about 60GB) right now. Is there any way to leave the synced file in the remote storage and delete them locally?

strib commented 5 years ago

Can you please clarify what you mean by "sync size"? Is this a folder that you used keybase fs sync on explicitly? Or are you talking about the data cache we write to local disk for any data that is read through KBFS? Or something else?

If you haven't run keybase fs sync enable explicitly, then your data is just in a transient cache as its read, which is sized automatically according to the amount of free space you have on your disk. But data can and is deleted from that freely, without affecting the remote storage.

If you have run keybase fs sync enable, you can just run keybase fs sync disable to clear your local storage, without affecting the remote storage.