sindresorhus/trash
View on GitHubTrashing a file on Windows deletes it unrecoverably if no recycle bin is enabled
Open
#107 opened on Dec 11, 2020
bughelp wanted
Repository metrics
- Stars
- (2,660 stars)
- PR merge metrics
- (No merged PRs in 30d)
Description
Similar to #56, but probably has to be solved in a different way for Windows. This was reported by a user in my app losslesscut https://github.com/mifi/lossless-cut/issues/537 When he trashed a file on a network mounted drive (which has no trash), the file just got removed permanently.