How to automatically delete synced files to save space?

sync-to-odrive

#1

I have a folder X synced to my Google Drive. I have used a VPS to continuously download files to folder X.

I would like to ask if there is a setting in Odrive to delete permanently a files in X after it is synced successfully. By doing so, I can use a HDD of only 50GB to download 20.000 files of a total of 400 GB.

Thank you so much!


#2

Hi @textdict007,
odrive doesn’t have a way to automatically delete data, but it can automatically unsync data, so that it takes up 0 bytes on your drive.

Take a look at our documentation here for more details: https://docs.odrive.com/docs/manage-disk-space#section-configure-auto-unsync

If you need more customization or advanced handling, you can use the CLI to script automatic unsyncing. Let me know if you would like more information about that.