.TRASHINFO File Extension

There is only one file type that uses the .TRASHINFO extension:

Linux Trash Metadata File

Linux Trash Metadata File

A TRASHINFO file is a metadata file used by various Linux operating systems' Trash applications. It contains a record of the location at which a file was stored before being moved to the Trash. It also records the date and time at which the file was trashed. TRASHINFO files are used to restore trashed files to their previous, pre-Trash locations.

When a user trashes a file on various Linux operating systems, such as KDE, GNOME, or Mint, those OS's Trash applications create a TRASHINFO file that records the trashed file's previous location. If the user decides to restore the trashed file, Trash uses the associated TRASHINFO file to determine where the trashed file should be restored to.

As such, if you delete a trashed file's associated TRASHINFO file, your Trash application will not be able to restore the trashed file. Linux TRASHINFO files are typically stored in the ~/Trash/info directory.

If you need to open a TRASHINFO file and view the metadata it contains, you can do so using any text editor, such as Vim (Linux), Github Atom (cross-platform), Microsoft Notepad (Windows), and Apple TextEdit (Mac).

Software's name License Platforms
Any text editor Any text editor AndroidChrome OSiOSLinuxMacWindowsWindows Phone
Apple TextEdit Apple TextEdit Bundled Mac
GitHub Atom GitHub Atom Open Source LinuxMacWindows
Microsoft Notepad Microsoft Notepad Bundled MacWindows
Vim Vim Open Source LinuxMacWindows

Updated: August 14, 2020

Search File Extensions