The Samba-Bugzilla – Bug 7958
Limit number of copies in trash
Last modified: 2011-02-17 09:25:45 UTC
The VFS trash has a feature to keep all versions of deleted files and directories by renaming newer versions to "Copy #N of ...".
To limit the amount of space used by these copies having an option to limit the number of versions to keep could come really handy. No file renaming needs to take place for this, only permanently delete the oldest files/directories.