A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/sindresorhus/empty-trash below:

GitHub - sindresorhus/empty-trash: Empty the trash

empty-trash

Empty the trash

Works on macOS, Linux, and Windows.

Install
npm install empty-trash
Usage
import emptyTrash from 'empty-trash';

await emptyTrash();
Info

On macOS, AppleScript is used as it's the only way to do it without incurring permission issues.

On Linux, the XDG spec is followed.

On Windows, empty-recycle-bin is used.

Related

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4