

Or just enable file versioning so the deleted files are stored in the folder .stversions inside the synced folder (you can specify another folder if .stversions doesn’t convince you). Although normal versioning causes the deleted files names to get changed to reflect the date of deletion, if you want to keep the original names you’d need to enable “trash bin” file versioning which stores deleted files with their original name. But then, deleting/modifying a file a second tome replaces the old version inside .stversions .
Btw, with file versioning if you change the name of a folder, a copy of it and all its contents also is stored .stversions, so dont rename your folder with 400gb in videos unless you want to fill then disk too fast.
I was going to say “gambling” semi ironically.