How can I have a Trash/Recycle Bin for my Samba shares?
30,030
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
Related videos on Youtube
Author by
rfgamaral
Updated on September 18, 2022Comments
-
rfgamaral over 1 year
I have a couple of Samba shares on my NAS running Debian Squeeze which I access through Windows 7. Deleting any of the files from Windows will completely delete the files from the NAS server.
Is there anyway to have a similar feature installed like the Trash/Recycle Bin? It would be nice if there even was a similar concept as Delete, file goes to trash and is deleted, ShiftDelete, file is deleted and no keep copy is kept anywhere.
Is there such thing I could install?
-
Juergen about 7 yearsTry this nice little tutorial on how to activate the bin for samba shares. timtrott.co.uk/enabling-recycle-bin-functionality-samba
-
-
m7913d over 2 yearsDoes this configuration supports the Shift+Delete feature to permanently delete the file as mentioned by the OP?
-
slm over 2 years@m7913d not sure, hadn't tried it. I suspect it will.