google drive – Upload files into GDrive then delete locally

Is there any settings in Gdrive windows Sync app, or any other third party app that allows auto uploading file to GDrive then delete the local file.
The idea behind the deleting is to protect the files against ransomware encrypting

Ps: in Android, MetaaCTRL Drive Sync App allows this functionality