sindresorhus / trash

Move files and directories to the trash
MIT License
2.57k stars 78 forks source link

Running on files on an external drive, the files sometimes don't appear in Trash until a file is manually deleted #83

Closed garyking closed 4 years ago

garyking commented 5 years ago

Run trash on files that are on an external drive. Sometimes, the files don't appear in the Mac trash, until I manually delete a file from the same external drive. Then they all appear at once.

This happens maybe 10% of the time, strangely enough.

sindresorhus commented 5 years ago

This sounds like a macOS bug. We're just calling the system API to move stuff to the trash.

To do anything more with this report, we'll need a failing test.