How to empty trash?

0340

To empty the trash using trash-cli, you can use the trash-empty command. Here’s how to do it:

Emptying the Trash with trash-cli:

  1. Open the Terminal: Launch your terminal application.

  2. Run the Command:

    trash-empty

This command will permanently delete all files currently in the trash.

Additional Options:

  • Empty Trash for a Specific Number of Days: You can specify a number of days to empty files older than that. For example, to empty files older than 7 days:
    trash-empty 7

Important Note:

  • Once you empty the trash using trash-empty, the files cannot be recovered, so make sure you want to permanently delete them before running the command.

If you have any further questions or need assistance, feel free to ask!

0 Comments

no data
Be the first to share your comment!