All Topics  
Recycle bin (computing)

 

   Email Print
   Bookmark   Link






 

Recycle bin (computing)



 
 
In computing
Computing

Computing is usually defined as the activity of using and developing computer technology, computer hardware and computer software. It is the computer-specific part of information technology....
, a recycle bin, or trash, is temporary storage for files
Computer file

A computer file is a block of arbitrary information, or resource for storing information, which is available to a computer program and is usually based on some kind of durable computer storage....
 that have been deleted in a file manager
File manager

A file manager or file browser is a computer program that provides a user interface to work with file systems. The most common operations used are create, open, edit, file viewer, computer printer, streaming media, rename, move, file copying, file deletion, attributes, properties, search/find, and permissions....
 by the user, but not yet permanently erased from the physical media. Typically, a recycle bin is presented as a special file directory to the user (whether or not it is actually a single directory depends on the implementation), allowing the user to browse deleted files, undelete
Undeletion

Undeletion is a feature for restoring computer files which have been removed from a file system by file deletion. Deleted data can be recovered on many file systems, but not all file systems provide an undeletion feature....
 those that were deleted by mistake, or delete them permanently (either one by one, or by the "Empty Trash" function).

Within a trash folder, a record is kept of each file and/or directory's original location.






Discussion
Ask a question about 'Recycle bin (computing)'
Start a new discussion about 'Recycle bin (computing)'
Answer questions from other users
Full Discussion Forum



Encyclopedia


In computing
Computing

Computing is usually defined as the activity of using and developing computer technology, computer hardware and computer software. It is the computer-specific part of information technology....
, a recycle bin, or trash, is temporary storage for files
Computer file

A computer file is a block of arbitrary information, or resource for storing information, which is available to a computer program and is usually based on some kind of durable computer storage....
 that have been deleted in a file manager
File manager

A file manager or file browser is a computer program that provides a user interface to work with file systems. The most common operations used are create, open, edit, file viewer, computer printer, streaming media, rename, move, file copying, file deletion, attributes, properties, search/find, and permissions....
 by the user, but not yet permanently erased from the physical media. Typically, a recycle bin is presented as a special file directory to the user (whether or not it is actually a single directory depends on the implementation), allowing the user to browse deleted files, undelete
Undeletion

Undeletion is a feature for restoring computer files which have been removed from a file system by file deletion. Deleted data can be recovered on many file systems, but not all file systems provide an undeletion feature....
 those that were deleted by mistake, or delete them permanently (either one by one, or by the "Empty Trash" function).

Within a trash folder, a record is kept of each file and/or directory's original location. Files must be moved out of the trash before they can be accessed again.

Whether or not files deleted by a program go to the recycle bin depends on its level of integration with a particular desktop environment
Desktop environment

In graphical computing, a desktop environment commonly refers to a style of graphical user interface that is based on the desktop metaphor which can be seen on most modern personal computers today....
 and its function. Low-level utilities usually bypass this layer entirely and delete files immediately. A program that includes file manager functionality may or may not send files to the recycle bin, or it may allow the user to choose between these options.

History

A trash can icon for deleting files was implemented during the development of the Apple Lisa
Apple Lisa

The Apple Lisa was a personal computer designed at Apple Computer, Inc. during the early 1980s.The Lisa project was started at Apple in 1978 and evolved into a project to design a powerful personal computer with a graphical user interface that would be targeted toward business customers....
 user interface in 1982. The concept carried over to the Apple Macintosh
Macintosh 128K

The Macintosh is the original Apple Inc. Macintosh personal computer. Its beige case contains a 9-inch monitor and comes with a keyboard and mouse....
.

Apple Inc. sued to prevent other software companies from offering graphical user interfaces similar to its own. Apple lost most of its claims but courts agreed Apple's Trash icon was original and protected by copyright. Non-Apple software may use other metaphors for file deletion, such as Recycle Bin, Smart Eraser, or Shredder.

In early versions of the Macintosh Finder, Trash contents were listed in volatile memory. Files moved to the Trash would appear there only until the Finder session ended, then they would be automatically erased. When System 7
System 7

System 7 is the name of a Macintosh operating system. Several other things are also called "System 7":...
 was released, the Trash became a folder that retained its contents until the user chose to empty the trash.

Recycle Bin first appeared in Windows 95. In this version, the original location record of the file is stored, but the folder itself didn't allow subdirectories. When a folder is deleted, its containing files are moved into the bin and mixed with other deleted files. The directory structure can only be restored if the batch of files are "undeleted". A revised Recycle Bin allows for subdirectory trees within the recycle bin.

Implementations

Recycle bin functionality is usually integrated into a desktop environment
Desktop environment

In graphical computing, a desktop environment commonly refers to a style of graphical user interface that is based on the desktop metaphor which can be seen on most modern personal computers today....
 and its file manager
File manager

A file manager or file browser is a computer program that provides a user interface to work with file systems. The most common operations used are create, open, edit, file viewer, computer printer, streaming media, rename, move, file copying, file deletion, attributes, properties, search/find, and permissions....
. Examples include:
  • Microsoft Windows
    Microsoft Windows

    Microsoft Windows is a series of software operating systems and graphical user interfaces produced by Microsoft. Microsoft first introduced an operating environment named Windows in November 1985 as an add-on to MS-DOS in response to the growing interest in graphical user interfaces ....
    , with Windows Explorer
    Windows Explorer

    Windows Explorer is a file manager application that is included with releases of the Microsoft Windows operating system from Windows 95 onwards....
     (see Recycle Bin (Windows))
  • GNOME
    Gnome

    A gnome is a mythical creature characterized by its extremely small size and wiktionary:subterranean lifestyle. The word gnome is derived from the New Latin gnomus....
     (Linux
    Linux

    Linux is a generic term referring to Unix-like computer operating systems based on the Linux kernel. Their development is one of the most prominent examples of free and open source software collaboration; typically all the underlying source code can be used, freely modified, and redistributed by anyone under the terms of the GNU GPL license...
    ), with Nautilus
    Nautilus (file manager)

    Nautilus is the official file manager for the GNOME desktop. The name is a play on words, evoking the animal shell of a nautilus to represent an shell ....
  • KDE
    KDE

    KDE is a free software project based around its flagship product, a desktop environment for Unix-like systems. The goal of the project is to provide basic desktop functions and applications for daily needs as well as tools and documentation for developers to write stand-alone applications for the system....
     (Linux
    Linux

    Linux is a generic term referring to Unix-like computer operating systems based on the Linux kernel. Their development is one of the most prominent examples of free and open source software collaboration; typically all the underlying source code can be used, freely modified, and redistributed by anyone under the terms of the GNU GPL license...
    ), with Konqueror
    Konqueror

    Konqueror is a web browser, file manager and file viewer designed as a core part of the KDE. It is developed by volunteers and can run on most Unix-like operating systems....
     and Dolphin
    Dolphin (software)

    Dolphin is a file manager for KDE. It is the default file manager for the current version, KDE 4, and can be optionally installed on KDE 3. Although replaced as the default file manager for KDE 4, Konqueror is still the default web browser, and can be used as an alternative file manager for power user....
  • Xfce
    Xfce

    Xfce is a free software desktop environment for Unix and other Unix-like platforms, such as Linux, Solaris and BSD. It aims to be fast and lightweight, while still being visually appealing and easy to use....
     (Linux
    Linux

    Linux is a generic term referring to Unix-like computer operating systems based on the Linux kernel. Their development is one of the most prominent examples of free and open source software collaboration; typically all the underlying source code can be used, freely modified, and redistributed by anyone under the terms of the GNU GPL license...
    ), with Thunar
    Thunar

    Thunar is a file manager for Linux and other Unix-like systems, written using the GTK+ toolkit and shipped with Xfce version 4.4 RC1 and later. Thunar is developed by Benedikt Meurer, and was originally intended to replace XFFM, Xfce's previous file manager....
  • Mac OS
    Mac OS

    Mac OS is the trademarked name for a series of graphical user interface-based operating systems developed by Apple Inc. for their Macintosh line of computer systems....
     and Mac OS X
    Mac OS X

    Mac OS X is a line of computer operating systems developed, marketed, and sold by Apple Inc., and since 2002 has been included with all new Macintosh computer systems....
    , with Macintosh Finder
    Macintosh Finder

    The Finder is the default application software program used on the Mac OS and Mac OS X operating systems that is responsible for the overall user-management of files, disks, network volumes and the launching of other applications....
    , as Trash
  • Amiga
    Amiga

    The Amiga is a family of personal computers originally developed by Amiga Corporation. Development on the Amiga began in 1982 with Jay Miner as the principal hardware designer....
    , when using the WorkBench. Note that the Professional File System
    Professional File System

    The Professional File System is a filesystem originally developed commercially for the Amiga. It tends to perform very well, due to the simplicity of design....
     added trashcan-like behaviour at the filesystem level.


The KDE, GNOME and Xfce implementations comply with the freedesktop.org
Freedesktop.org

freedesktop.org is a project to work on interoperability and shared base technology for free software desktop environments for the X Window System on Linux and other Unix-like operating systems....
 Trash specification, ensuring that any applications written with this specification in mind will be interoperable with any trash can implementation.

Under Mac OS X, when a file is deleted in Finder, it is copied to a folder named .Trashes/ username / within the original directory, and when viewing the device's available space the space occupied by the deleted files is shown as occupied.

Some implementations may contain "shredding" functionality to counter data remanence
Data remanence

Data remanence is the residual representation of data that has been in some way nominally erased or removed. This residue may be due to data being left intact by a nominal file deletion operation, or through physical properties of the data storage device....
.

Other uses

Mac OS has long allowed dragging a disk icon to the Trash as a method for ejecting a disk, but this does not place the disk in the Trash folder nor does it erase the disk. In Mac OS X the Trash icon temporarily changes to an Eject or Disconnect symbol whenever storage volumes are dragged.

The GNOME Human Interface Guidelines cite such behavior as an example of a discouraged metaphor.

See also

  • File deletion
    File deletion

    File deletion is a way of removing a computer file from a computer's file system.The reasons for deleting files are#Freeing the disk space#Removing duplicate or unnecessary data to avoid confusion...