I installed gcsfuse on my local macOS system and mounted a folder to cloud storage bucket. everythings works fine.
but, If deleted a file from mounted folder also deleting on bucket. I don't want this to be happen.
when ever I delete any files, It should only delete on my local machine.
Can anyone help me to do it.
Thanks.
You can't do this with official version of gcsfuse.
As workaround, you can activate the object versioning. Thereby, even is you delete a file, a versioned copy still live in your Bucket. You lost nothing.
This video is also great for explaining the versioning
If you really want to use gcsfuse with your special feature, you can fork the project and remove the delete part in the code of the open source project