Example of an empty and full trash can or recycling bin icon, designed by the Tango Desktop Project, used to depict the trash in computing
In computing, the trash, also known by other names such as trash bin, dustbin, wastebasket, and similar names, is a graphical user interfacedesktop metaphor for temporary storage for files set aside by the user for deletion, but which are not yet permanently erased. This lifts the burden from the user of having to be highly careful while selecting files for deletion, since a trash bin provides a grace period to reverse unwanted deletions. The concept and name is part of Mac operating systems; a similar implementation is called the Recycle Bin in Microsoft Windows, and other operating systems use other names, sometimes ending with "-bin".
In the file manager, the trash can be viewed by the user as a special file directory, allowing the user to browse the files and retain those still wanted before deleting the others permanently (either one by one, or via an "empty trash" command). It may still be possible using third party software to undelete those that were deleted by mistake. In Microsoft Windows and macOS, the Trash folder links to hidden folders on each mounted drive where the files are actually stored.
The duration for which files are retained in the trash bin varies depending on implementation. They may be retained indefinitely until manually deleted, deleted after a fixed period, or deleted when the recycle bin exceeds a certain size.
Within a trash folder, a record may be kept of each file and/or directory's original location, depending on the implementation. On certain operating systems, files must be moved out of the trash before they can be accessed again. An operating system or file manager may remove trashed files from the file system once they resided in the trash bin for a certain duration, for example after 30 days on Android, or once the trash bin grows to a certain size (see § Microsoft Windows). Unlike in conventional folders, a trash bin may be able to contain files with duplicate names, given that a trash bin acts as a layer before permanent deletion from the file system. An implementation may store trashed files using custom names and references back to their original name stored as metadata, and/or inside hidden subfolders with non-duplicate names on the file system, such as the subfolders inside the $RECYCLE.BIN folder on Microsoft Windows. This is because the user needs to be able to trash any file that they would normally be able to permanently delete, including files with identical names stored in different directories.[1][2]
Whether or not files deleted by a program go to the recycle bin depends on its level of integration with a particular desktop environment 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.[citation needed]
History
Bill Atkinson began developing the Apple Lisa user interface in late 1978. In March 1982 he reached the stage of changing to an icon-based file manager, and produced a mock-up with a trash can icon (including buzzing flies) for deleting files.[3][4] The release version of Lisa was launched in 1983 with a "Wastebasket",[5] its icon "an alley-style garbage can [with] vertical lines to indicate a ribbed surface .... an open lid and a handle on the front of the can."[6][7] Apple advertised "If you can find the trash can, you can run a computer."[8]
Following this, the Magic Desk I ROM cartridge for Commodore 64 presented a primitive representation of office furniture, with a wastebasket or trash bin under the desk. This lacked functionality and was not taken further.[9]
In 1983 Susan Kare designed the core visual design language of Classic Mac OSSystem 1, launched in January 1984. This incorporated some elements of the Lisa interface, including a refined version of the icon, now labelled Trash,[10] with "a closed lid with a handle on top."[6] An ad supplement in Newsweek introduced the Mac interface, with its "pictures of objects you'll have no trouble recognizing ... Even a trash can."[11] A subsequent update to Lisa renamed its Wastebasket icon "Trash".[12] In "International English" localizations of Classic Mac OS, Trash was named "Wastebasket".[13]
In 1985, Amiga Workbench 1.0 was released. This took much inspiration from Mac OS, including trash bins. When formatting a floppy disk/hard drive partition, the user could select to add a bin to it. This would then appear as an icon titled "Trashcan" along with the other files. Users could drag unwanted files onto it and empty the bin later.[14]
In early versions of the Macintosh Finder, Trash contents were in volatile memory, and were lost when the computer restarted. From 1987, if anything was in Trash its icon bulged as a reminder to check the contents before shutting down. Following the 1991 introduction of System 7, the Trash folder retains its contents until the user chooses to empty the trash.[15][7]
The outcome of the lawsuit Apple Computer, Inc. v. Microsoft Corp. (filed in 1988, decision affirmed on appeal in 1994) was that graphical user interfaces similar to Apple's did not infringe rights, but some features including Apple's Trash icon were original and protected by copyright. Non-Apple software could use other metaphors for file deletion, such as Recycle Bin, Smart Eraser, or Shredder.[6][16]
In 1993 or 1994, Microsoft implemented its first temporary deletion system in MS-DOS 6, under the name Delete Sentry: When a file was deleted, it was moved to a hidden SENTRY folder at the root of the drive.[17][18]
Microsoft introduced its current trash system in 1995, the Recycle Bin, with Windows 95, as an area to store and review files and folders prior to deletion.[19] At default settings, the Recycle Bin auto-deletion permanently deletes files to free up disk space when it gets low, or deletes files in the Bin over 30 days.[15][20] In this version, the original location record of the file is stored, but the folder itself did not 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 is "undeleted". The current (revised) Recycle Bin allows for subdirectory trees to exist within folders that have been moved there. The icon shows a bin with a recycling symbol on its front.
With the new interface of Mac OS X introduced in 2001, the Trash icon moved from the desktop to a permanent place at the end of the Dock. The International English "Wastebasket" had been dropped at the end of 2009, making the name "Trash" standard.[21] In keeping with the system appearance, the Trash was a shiny wire basket, until with OS X Yosemite in 2014 it became a translucent white container.[22] With macOS Mojave, the Trash was renamed "Bin" in the Australian English localisation, and with macOS Catalina, "Bin" also appeared in the UK localisation.[23]
Android OS since version 11, with a 30-day "grace period" until trashed files are removed from the file system.[1]
Some implementations may contain "shredding" functionality to counter data remanence.
Linux desktop environments
The KDE, GNOME[24] and Xfce implementations comply with the freedesktop.org Trash specification,[25] ensuring that any applications written with this specification in mind will be interoperable with any trash can implementation.
Although the various Linux desktop environments such as GNOME, KDE, and Xfce provide a trash mechanism, there is traditionally no simple way to trash something from the command line interface. Some third-party applications, such as trash-cli, provide commands on the command-line to use the trash, compatible with the FreeDesktop.org Trash Specification.
macOS
Using macOS, a file or folder is deleted in Finder by dragging its icon onto the Trash icon at the right hand end of the Dock, moving the item into the Trash folder, where it can be viewed but not used until it is moved out again. To restore highlighted items from the Trash to their original position, a contextual menu brings up a Put Back option. The keyboard shortcut to move highlighted items to Trash, or Put Back items, is ⌘ Command+Delete. To finally delete files, clicking on "Empty" brings up a warning that this cannot be undone, and an option to delete.[26]
Putting items in the Trash folder moves them to a hidden temporary folder: for the boot disk, a user account has this at /Users/username/.Trash/; each mounted volume such as an external drive has a hidden folder in the root folder named /.Trashes/.[27] When viewing the device's available space the space occupied by the deleted files is shown as occupied. The Trash folder shows deleted files from external drives, including removable media.[28] This does not apply to networked drives, where trying to move an item to Trash brings up a warning that it will be deleted immediately and this cannot be undone.[29]
Since OS X El Capitan, the Trash can be bypassed by pressing ⌥ Option+⌘ Command+Delete when a file is selected.[30] Since macOS Sierra, the user can enable an option to have the Trash automatically empty after 30 days.[31]
In UK and Australian English localisations, the Trash is known as "Bin".[23]
Apps and iOS
In several macOS apps and in the iOS mobile operating system, the Trash is within apps rather than in the system as a central feature. The standard icon for the Trash is a small version of the original Classic Mac OS trash can. Files are moved to a "Recently Deleted" folder within the app where they remain available for recovery for a stated number of days, then are automatically permanently deleted. Apps where this applies include Photos and Mail.[32][33] Files may still be recoverable if a computer backup was run before they were moved to "Recently Deleted".
Microsoft Windows
Microsoft's Recycle Bin is implemented as a special folder with columns like Date deleted and Original location. Typically only files deleted via File Explorer (but not necessarily other Windows graphical interfaces such as file selection dialogs) will be put into the Recycle Bin; files deleted via the Command Prompt are permanently deleted, as (by default) are files deleted via operating system APIs and applications other than Windows Explorer.[34] Some operating system APIs do, however, allow applications to recycle files rather than delete them.[35] In previous Windows operating systems and in MS-DOS, undeletion was the only way to recover accidentally or intentionally deleted files.
As standard, the Recycle Bin only stores files deleted from hard drives, not from removable media, such as memory cards, thumb drives, or floppy disks, nor does it store files deleted from network drives.[36] There are methods to make it work on network paths, however.[citation needed]
The Recycle Bin has a setting to configure the amount of deleted files it can store. Free disk space allocated for this is not actually used until files are deleted from folders and stored in the Recycle Bin. In versions of Windows prior to Windows Vista, the default configuration of the Recycle Bin is a global setting for all drives to hold 10% of the total capacity of each host hard drive volume to store deleted files. For example, on a volume with a capacity of 20 gigabytes, the Recycle Bin will hold up to 2 gigabytes of deleted files. This can be changed anywhere from 0 to 100% of the drive space, but will not be allowed to exceed 3.99GB of space, even if the user-indicated % of the drive space is larger than 3.99GB. If the Recycle Bin fills up to maximum capacity, the oldest files will be deleted in order to accommodate the newly deleted files.[19] If a file is too large for the Recycle Bin, the user will be prompted to immediately and permanently delete the file instead.
The actual location of the Recycle Bin depends on the type of operating system and file system. On older FAT file systems (typically Windows 98 and prior), it is located in Drive:\RECYCLED. In the NTFS filesystem (Windows 2000, XP, NT) it is Drive:\RECYCLER. On Windows Vista and above it is Drive:\$Recycle.Bin folder.[2]
The Recycle Bin can be accessed as an shortcut from the desktop, by searching "Recycle Bin" in Windows Explorer, or by typing "shell:RecycleBinFolder" in the Run dialog box (⊞ Win+R). It is the only icon shown by default on the Windows XP desktop. When accessed from the desktop, the Recycle Bin options and information are different from those of the physical Recycle Bin folders seen on each partition in Windows Explorer. From Windows XP onwards, with NTFS, different users cannot see the contents of each other's Recycle Bins.
Prior to Windows Vista, a file in the Recycle Bin is stored in its physical location and renamed as D<original drive letter of file><#>.<original extension>.[19] A hidden file called info2 (info in Windows 95 without the Windows Desktop Update) stores the file's original path and original name in binary format.[19] Since Windows Vista, the "meta" information of each file is saved as $I<number>.<original extension> and the original file is renamed to $R<number>.<original extension>.
When the user views the Recycle Bin, the files are displayed with their original names. When the file is "Restored" from the Recycle Bin, it is returned to its original directory and name.[19]
In Windows Explorer, files are moved to the Recycle Bin in a number of ways:
By right-clicking on a file and selecting delete from the menu
Selecting the file and pressing the delete key
Selecting delete from the Task pane in Windows XP
Selecting the file and choosing delete from the File menu (in Windows XP Explorer)
By dragging and dropping a file into the Recycle Bin icon
From the Send To menu
From a context menu command or some other function in a software application (usually configurable)
It is possible to bypass the Recycle Bin and directly delete a file by holding the SHIFT key while performing an action that would normally send a file to the trash.[37]
Other uses
The 1984 original Mac and several of its successors (up to the 1987 Macintosh SE) lacked a (then prohibitively expensive) hard drive. Instead, the system ran from a floppy disk which could be ejected (⌘ Command+E), graying out its icon ('ghosting') and leaving its contents in memory, ready to transfer to another disk. In Classic Mac OS, dragging the disk icon to Trash (shortcut ⌘ Command+Y) directly ejected a disk (or CD) without leaving a grayed icon.[15]
Mac OS X removed the transfer option; dragging a disk or storage volume onto Trash converted the icon to the universal Eject symbol before unmounting and ejecting the disk or volume. This does not place the disk/volume in the Trash folder, nor does it erase the disk/volume.
The GNOME Human Interface Guidelines cite using a waste basket to eject a removable disk as an example of a metaphor taken beyond its reasonable use.[38]
^"Delete Sentry Automatically Purges Files When Necessary". Microsoft Support. Microsoft Corporation. Retrieved 3 June 2010. When Microsoft Undelete is using the Delete Sentry level of protection, files that are deleted are stored in a hidden SENTRY directory in the root of the drive.
^"Now You Delete It, Now You Don't". PC Operating Instructions, Vol.5 Issue 6. Smart Computing. June 1994. Retrieved 3 June 2010. Delete Sentry. This is the most reliable file-recovery method. This method sets up a hidden directory named SENTRY. UNDELETE saves the contents of all deleted files in this directory. Because these files are kept in the hidden directory, it doesn't matter whether the originals have been written over or not. UNDELETE simply restores the files you want from the SENTRY directory.
Casey at the BatSutradaraLloyd IngrahamDitulis olehWilliam E. Wing (skenario)BerdasarkanCasey at the Batoleh Ernest Thayer, 1888PemeranDeWolf HopperPerusahaanproduksiFine Arts Studios, sebuah cabang dari Triangle Film CorporationDistributorTriangle Film CorporationTanggal rilis 2 Juli 1916 (1916-07-02) Durasi5 rol (55-65 menit)[1]NegaraAmerika SerikatBahasaBisu (intertitel Inggris) Casey at the Bat adalah sebuah film bisu Amerika Serikat tahun 1916 yang telah hilang. Film tersebu...
Direktorat Jenderal Perundingan Perdagangan Internasional Kementerian Perdagangan Republik IndonesiaGambaran umumDasar hukumPeraturan Presiden Nomor 11 Tahun 2022 tentang Kementerian PerdaganganNomenklatur sebelumnyaDirektorat Jenderal Kerja Sama Perdagangan InternasionalNomenklatur penggantiDirektorat Jenderal Perundingan Perdagangan InternasionalSusunan organisasiDirektur JenderalDjatmiko Bris Witjaksono, S.E., MSIE.Sekretaris Direktorat JenderalAri Satria, S.E, MA. Unit Eselon IIDirektorat...
(Selengkapnya) Terlepas isinya sebelum dialihkan, halaman bahasa Musi dan rumpun bahasa Musi merupakan topik yang valid dan dapat dibedakan dari bahasa Palembang. Berdasarkan survei komprehensif ragam-ragam Melayik Sumbagsel oleh McDowell & Anderbeck (2020), penggolongannya kurang lebih seperti ini: Melayik Musi (= rumpun bahasa Musi = [mui] + [liw] = musi1243) Musi Hulu Musi (= bahasa Musi = [mui] sebelum merger dg kode lain = nucl1812) Sekayu Kelingi Penukal Palembang-Dataran Rendah Pal...
Camponogara commune di Italia Tempat Negara berdaulatItaliaRegion di ItaliaVenetoKota metropolitan di ItaliaMetropolitan City of Venice (en) NegaraItalia Ibu kotaCamponogara PendudukTotal12.942 (2023 )GeografiLuas wilayah21,3 km² [convert: unit tak dikenal]Ketinggian4 m Berbatasan denganCampagna Lupia Campolongo Maggiore Dolo Fossò SejarahSanto pelindungApolonia Informasi tambahanKode pos30010 Zona waktuUTC+1 UTC+2 Kode telepon041 ID ISTAT027004 Kode kadaster ItaliaB554 Lain-lain...
American baseball player Baseball player Jesse BarfieldBarfield in 2009Right fielderBorn: (1959-10-29) October 29, 1959 (age 64)Joliet, Illinois, U.S.Batted: RightThrew: RightProfessional debutMLB: September 3, 1981, for the Toronto Blue JaysNPB: April 10, 1993, for the Yomiuri GiantsLast appearanceMLB: June 17, 1992, for the New York YankeesNPB: October 21, 1993, for the Yomiuri GiantsMLB statisticsBatting average.256Home runs2...
Poseidon's head (identified by an inscription), detail from a scene representing Athena and Poseidon. Side B from an Attic black-figure neck-amphora, c. 550–530 BC. From Vulci. Signed by the Amasis Painter. The Panionium (Ancient Greek: Πανιώνιον, Paniōnion) was an Ionian sanctuary dedicated to Poseidon Helikonios and the meeting place of the Ionian League. It was on the peninsula of Mt. Mycale, about 100 kilometres (62 mi) south of Smyrna—now İzmir, in Turkey. Herodotus d...
Indian business magazine For the Philippine daily newspaper, see BusinessWorld. This article needs additional citations for verification. Please help improve this article by adding citations to reliable sources. Unsourced material may be challenged and removed.Find sources: Businessworld – news · newspapers · books · scholar · JSTOR (September 2009) (Learn how and when to remove this message) BW BusinessworldBW BusinessworldEditor-in-ChiefAnurag BatraC...
هنودمعلومات عامةنسبة التسمية الهند التعداد الكليالتعداد قرابة 1.21 مليار[1][2]تعداد الهند عام 2011ق. 1.32 مليار[3]تقديرات عام 2017ق. 30.8 مليون[4]مناطق الوجود المميزةبلد الأصل الهند البلد الهند الهند نيبال 4,000,000[5] الولايات المتحدة 3,982,398[6] الإمار...
Fictional character from Ghostbusters Fictional character Peter VenkmanGhostbusters characterDr. Peter Venkman as portrayed by Bill Murray in the film Ghostbusters (1984)First appearanceGhostbusters (1984)Created byDan Aykroyd Harold RamisPortrayed byBill MurrayVoiced byBill Murray (Ghostbusters: The Video Game, Lego Dimensions) Lorenzo Music (The Real Ghostbusters, 1986–1987) Dave Coulier (The Real Ghostbusters, 1988–1991; Extreme Ghostbusters guest star)Created forJohn Belushi[1]...
Approach to controlled thermonuclear fusion using magnetic fields A typical plasma in the MAST spherical tokamak machine at the Culham Centre for Fusion Energy in the UK. Magnetic confinement fusion (MCF) is an approach to generate thermonuclear fusion power that uses magnetic fields to confine fusion fuel in the form of a plasma. Magnetic confinement is one of two major branches of controlled fusion research, along with inertial confinement fusion. Fusion reactions for reactors usually combi...
Museum in Wufeng, Taichung, Taiwan Asia Museum of Modern Art亞洲現代美術館Established24 October 2013; 10 years ago (2013-10-24)LocationWufeng, Taichung, TaiwanCoordinates24°02′49.5″N 120°41′17.5″E / 24.047083°N 120.688194°E / 24.047083; 120.688194Typeart museumArchitectTadao AndoWebsiteOfficial website The Asia Museum of Modern Art (traditional Chinese: 亞洲現代美術館; simplified Chinese: 亚洲现代美术馆; pinyin...
Chemical compound FenbutrazateClinical dataRoutes ofadministrationOralATC codenoneLegal statusLegal status In general: ℞ (Prescription only) Identifiers IUPAC name 2-(3-methyl-2-phenylmorpholin-4-yl)ethyl 2-phenylbutanoate CAS Number4378-36-3PubChem CID20395ChemSpider19210UNIIBKY8H56395ChEMBLChEMBL2104316CompTox Dashboard (EPA)DTXSID6057746 ECHA InfoCard100.022.256 Chemical and physical dataFormulaC23H29NO3Molar mass367.489 g·mol−13D model (JSmol)Interactive image SMILES O...
American civil rights activist Bernard LafayetteLafayette in 2020Born (1940-07-29) July 29, 1940 (age 83)Tampa, Florida, U.S.EducationHighlander Folk SchoolAlma materAmerican Baptist CollegeHarvard Graduate School of Education.Known forActivism in the Civil Rights MovementParent(s)Bernard Lafayette Sr. Verdell Lafayette Bernard Lafayette (or LaFayette), Jr. (born July 29, 1940) is an American civil rights activist and organizer, who was a leader in the Civil Rights Movement. He...
American politician Ray MabusOfficial portrait, 201475th United States Secretary of the NavyIn officeMay 19, 2009 – January 20, 2017PresidentBarack ObamaDeputyRobert O. WorkJanine A. DavidsonPreceded byDonald C. WinterSucceeded byRichard V. SpencerUnited States Ambassador to Saudi ArabiaIn officeJuly 5, 1994 – April 25, 1996PresidentBill ClintonPreceded byJohn Frank Bookout Jr.Succeeded byWyche Fowler60th Governor of MississippiIn officeJanuary 12, 1988 – Janu...
Mass shooting in Palm Bay, Florida, U.S. 1987 Palm Bay shootingFDOC mug shot of William Bryan Cruse Jr.Approximate location of the shootingLocationPalm Bay, Florida, United StatesCoordinates28°01′59″N 80°37′19″W / 28.033150°N 80.621893°W / 28.033150; -80.621893DateApril 23, 1987; 37 years ago (1987-04-23) c. 6:00 p.m. (EDT)Attack typeMass shootingWeaponRuger Mini-14 semi-automatic rifle, shotgun, pistolDeaths6Injured14 (10 by gunfire)...
Untuk Human Torch asli, lihat Human Torch (android). Human TorchInformasi publikasiPenerbitMarvel ComicsPenampilan pertamaThe Fantastic Four #1 (Nov. 1961)Dibuat olehStan Lee (penulis)Jack Kirby (artist)(berdasarkan pada karakter asli karya Carl Burgos)Informasi dalam ceritaAlter egoJonathan Lowell Spencer Johnny StormSpesiesHuman MutateTempat asalGlenville, New YorkAfiliasi timFantastic FourAvengersFuture FoundationFantastic ForceHerald of GalactusFantastic Four IncorporatedAvengers Unity Di...
Bilateral relationsIndia-Liechtenstein relations India Liechtenstein Prince Alois meeting with President Ram Nath Kovind at Rashtrapati Bhavan, New Delhi; October 2018. India–Liechtenstein relations refers to the bilateral relations between India and Liechtenstein. The Embassy of India in Bern, Switzerland is concurrently accredited to Liechtenstein.[1] Liechtenstein maintains an honorary consul general in New Delhi.[2] Under a 1919 agreement between Liechtenstein and Switze...
South Korean actor (born 1972) In this Korean name, the family name is Kim. Kim Myung-minKim Myung-min in 2016Born (1972-10-08) 8 October 1972 (age 51)Susaek-dong, Eunpyeong-gu, Seoul, South Korea[1]EducationSeoul Institute of the Arts - TheaterOccupationActorYears active1996–presentKorean nameHangul김명민Hanja金明民Revised RomanizationGim Myeong-minMcCune–ReischauerKim Myŏngmin Signature Kim Myung-min (Korean: 김명민, born October 8, 1972) is a South ...