Skip to main content
1 of 2
slm
  • 380k
  • 127
  • 793
  • 897

I think you're looking for the vfs_recycle module to Samba.

In your smb.conf file for a given share:

[share] path = /data/share vfs objects = recycle recycle:repository = .recycle recycle:keeptree = yes recycle:versions = yes 
slm
  • 380k
  • 127
  • 793
  • 897