HOME

TheInfoList



OR:

In computing, a virtual folder generally denotes an
organizing principle An organizing principle is a core assumption from which everything else by proximity can derive a classification or a value. It is like a central reference point that allows all other objects to be located, often used in a conceptual framework. H ...
for files that is not dependent on location in a hierarchical
directory Directory may refer to: * Directory (computing), or folder, a file system structure in which to store computer files * Directory (OpenVMS command) * Directory service, a software application for organizing information about a computer network's u ...
tree. Instead, it consists of software that coalesces results from a data store, which may be a database or a custom index, and presents them visually in the format in which folder views are presented. A virtual folder can be thought of as a view that lists all files tagged with a certain tag, and thus a simulation of a folder whose dynamic contents can be assembled on the fly, when requested. It is related in concept to several other topics in
computer science Computer science is the study of computation, automation, and information. Computer science spans theoretical disciplines (such as algorithms, theory of computation, information theory, and automation) to Applied science, practical discipli ...
, with names including saved search, saved query, and
filtering Filter, filtering or filters may refer to: Science and technology Computing * Filter (higher-order function), in functional programming * Filter (software), a computer program to process a data stream * Filter (video), a software component tha ...
.


Technology

Virtual folders provide a means for making it easier for users to find files that are content-related, such as by project. The user needs to specify criteria and all files matching the criteria are dynamically aggregated into the virtual folder. Files in a virtual folder are not limited to any single physical location on the hard drive, as is the case with traditional folders, but can be in any location. In fact, files in a virtual folder do not even need to be stored as files on the hard drive. They may be on a network share or in a custom application datastore such as e-mail inbox or even a database. Documents cannot be "stored" in a virtual folder, since physically a virtual folder is just a file storing a search query. Any attempt to store a file in a virtual folder, depending on the implementation, is redirected to some physical store. Most implementations speed up searching by pre-indexing the hard drive, or the locations where the search has to be performed. So when searching is to be done, the index, which is a representation of the entire data suitable for fast searching, is used. Since the entire folder hierarchy is not accessed, the search is completed much faster.


Implementations

Virtual folders are a well-established construct in
operating system An operating system (OS) is system software that manages computer hardware, software resources, and provides common services for computer programs. Time-sharing operating systems schedule tasks for efficient use of the system and may also in ...
s.
BeOS BeOS is an operating system for personal computers first developed by Be Inc. in 1990. It was first written to run on BeBox hardware. BeOS was positioned as a multimedia platform that could be used by a substantial population of desktop users a ...
included a version of virtual folders referred to as "saved queries", that has since influenced the development of virtual folder features in operating systems like Mac OS X, Windows and Linux. These virtual folders are populated dynamically by executing a search on the entire
file system In computing, file system or filesystem (often abbreviated to fs) is a method and data structure that the operating system uses to control how data is stored and retrieved. Without a file system, data placed in a storage medium would be one larg ...
, or a subset of it, or by using the
cache Cache, caching, or caché may refer to: Places United States * Cache, Idaho, an unincorporated community * Cache, Illinois, an unincorporated community * Cache, Oklahoma, a city in Comanche County * Cache, Utah, Cache County, Utah * Cache County ...
d version of the search.


History


BeOS

The initial developer preview of the operating system, released in October 1995, included database-like functionality to make it easier for users to manage their files. To do this the filesystem indexes certain file attributes to allow for fast searching. By default the filesystem indexes the filename, size and last modified timestamp automatically, but could also create indexes for other attributes when told to by either an application or by the user. When a user performs a file search, a file is created in the folder "/boot/home/queries" with a name derived from the content of the query and the date and time of the search, such as "Name = Western Infirmary - Mar 21, 11:59:40 PM". The query criteria of the search is stored in an attribute of the file called "qrystr". When the file is opened, the filesystem indexes were queried and a Tracker window is opened with an up-to-date list of files that match the criteria. Additional features were added to search with subsequent releases. Release 2 introduced the ability to edit saved queries, and Release 3 gave the users the chance to define their own names for saved queries. Before Release 4 in 1998, all queries were stored indefinitely. However, with R4, the BeOS developers introduced a seven-day limit on all queries. If a user wanted a query to stay around longer, they could uncheck a "Temporary" flag in the Find dialog.


macOS

In April 2005, Apple released
Mac OS X v10.4 Mac OS X Tiger (version 10.4) is the 5th major release of macOS, Apple's desktop and server operating system for Mac computers. Tiger was released to the public on April 29, 2005 for US$129.95 as the successor to Mac OS X 10.3 Panther. Som ...
, with their implementation of virtual folders called Smart Folders. These folders are dynamically updated by the
Spotlight Spotlight or spot light may refer to: Lighting * Spot lights, automotive auxiliary lamps * Spotlight (theatre lighting) * Spotlight, a searchlight * Stage lighting instrument, stage lighting instruments, of several types Art, entertainment, an ...
engine to contain content that match certain criteria. For example, this could be used to give you a folder containing all the
Word A word is a basic element of language that carries an semantics, objective or pragmatics, practical semantics, meaning, can be used on its own, and is uninterruptible. Despite the fact that language speakers often have an intuitive grasp of w ...
documents containing the word "shpadoinkle" that have been edited within the last 7 days. Smart Folders are created by saving a Spotlight search, which records the search criteria in a
Property list In the macOS, iOS, NeXTSTEP, and GNUstep programming frameworks, property list files are files that store serialized objects. Property list files use the filename extension .plist, and thus are often referred to as p-list files. Property lis ...
file with a .savedSearch extension and, by default, saves them in the "/Users/username/Library/Saved Searches" folder.
Dominic Giampaolo Dominic P. Giampaolo is a software developer who helped develop the Be File System for the Be Operating System (BeOS) and currently works at Apple Inc. After graduating from Lewiston High School in Lewiston, Maine in 1987, he started studying p ...
, One of the lead developers of the BeOS filesystem was also involved in adding a virtual folder system in
Apple Inc. Apple Inc. is an American multinational technology company headquartered in Cupertino, California, United States. Apple is the largest technology company by revenue (totaling in 2021) and, as of June 2022, is the world's biggest company ...
's
Mac OS X macOS (; previously OS X and originally Mac OS X) is a Unix operating system developed and marketed by Apple Inc. since 2001. It is the primary operating system for Apple's Mac (computer), Mac computers. Within the market of ...
operating system. There are many variants of the Smart Folder concept that can be seen in applications that use the Spotlight engine, usually identified by a gear symbol on a purple-hued icon. Examples include: Smart Mailboxes in
Mail The mail or post is a system for physically transporting postcards, letter (message), letters, and parcel (package), parcels. A postal service can be private or public, though many governments place restrictions on private systems. Since the mid ...
and Smart Groups in
Address Book An address book or a name and address book is a book, or a database used for storing entries called contacts. Each contact entry usually consists of a few standard fields (for example: first name, last name, company name, address, telephone num ...
. Before Spotlight earlier versions of
macOS macOS (; previously OS X and originally Mac OS X) is a Unix operating system developed and marketed by Apple Inc. since 2001. It is the primary operating system for Apple's Mac computers. Within the market of desktop and lapt ...
had a similar concept in the iApps (
iTunes iTunes () is a software program that acts as a media player, media library, mobile device management utility, and the client app for the iTunes Store. Developed by Apple Inc., it is used to purchase, play, download, and organize digital mul ...
and
iPhoto iPhoto is a discontinued digital photograph manipulation software application developed by Apple Inc. It was included with every Macintosh personal computer from 2002 to 2015, when it was replaced with Apple's Photos application. Originally so ...
), but these did not use the system-wide Spotlight engine.


Microsoft Windows


Saved Searches

Windows Vista Windows Vista is a major release of the Windows NT operating system developed by Microsoft. It was the direct successor to Windows XP, which was released five years before, at the time being the longest time span between successive releases of ...
, released in November 2006, introduced the concept of virtual folders to the Windows platform with the introduction of ''Saved Searches'', which aggregate and display items based on their properties rather than folders or hierarchical paths on disk. Saved Searches are not folders — they do not store items — they instead are
XML Extensible Markup Language (XML) is a markup language and file format for storing, transmitting, and reconstructing arbitrary data. It defines a set of rules for encoding documents in a format that is both human-readable and machine-readable. T ...
files that retain a query for utilization by
Windows Search Windows Search (also known as Instant Search) is a content index desktop search platform by Microsoft introduced in Windows Vista as a replacement for both the previous Indexing Service of Windows 2000 and the optional MSN Desktop Search for Wind ...
. Saved Searches can be defined based on customizable parameters including dates,
metadata Metadata is "data that provides information about other data", but not the content of the data, such as the text of a message or the image itself. There are many distinct types of metadata, including: * Descriptive metadata – the descriptive ...
, names, paths to search (called the ''scopes''), and item types — such as attachments, communications, documents, emails, folders, programs, photos, tracks, and videos. A similar approach for saving queries exists in
Windows XP Windows XP is a major release of Microsoft's Windows NT operating system. It was released to manufacturing on August 24, 2001, and later to retail on October 25, 2001. It is a direct upgrade to its predecessors, Windows 2000 for high-end and ...
and the
Indexing Service Indexing Service (originally called Index Server) was a Windows service that maintained an index of most of the files on a computer to improve searching performance on PCs and corporate computer networks. It updated indexes without user interven ...
, as searches can be saved as .fnd files; however, this only saves the user's search criteria and users must specify the location to search and perform the search again after opening, as results are not dynamic. ''Query Composition'' in Windows Vista also allows Saved Searches to scope other Saved Searches to further refine results. By default, Windows Vista references the
disk partition Disk partitioning or disk slicing is the creation of one or more regions on secondary storage, so that each region can be managed separately. These regions are called partitions. It is typically the first step of preparing a newly installed disk ...
and user profile of a created Saved Search as part of its scope, which inhibits their ability to return content from different machines or partitions when transferred to other machines. Microsoft released a ''SearchMelt Creator'' utility that changes the scope of Saved Searches to reference the %USERPROFILE%
environment variable An environment variable is a dynamic-named value that can affect the way running processes will behave on a computer. They are part of the environment in which a process runs. For example, a running process can query the value of the TEMP env ...
, which allows them to operate on other machines or profiles; users can also edit Saved Searches manually to reference %USERPROFILE% to facilitate sharing. Saved Searches additionally allow users to create ''stacks'' of data, which are collections of items assembled by properties such as document authors. The same content can appear in more than one stack. Users can, by way of example, first navigate to a specific author stack then to a keyword stack, or to the same keyword stack and to the same author stack without creating new folders or changing the underlying location on disk, which frees users from the limitation of a hierarchical folder structure where one item can only be stored in one location — this liberation from folder hierarchies was a primary benefit and differentiator of
WinFS WinFS (short for Windows Future Storage) was the code name for a canceled data storage and management system project based on relational databases, developed by Microsoft and first demonstrated in 2003 as an advanced storage subsystem for the Micro ...
. Pre-release builds of Windows Vista offered significantly different metadata and namespace functionality in contrast to the functionality of the build of Windows Vista
released to manufacturing A software release life cycle is the sum of the stages of development and maturity for a piece of computer software ranging from its initial development to its eventual release, and including updated versions of the released version to help impro ...
. Microsoft constructed several Saved Searches as part of its goals for a new user profile namespace, which replaced traditional user profile folders.
Documents A document is a writing, written, drawing, drawn, presented, or memorialized representation of thought, often the manifestation of nonfiction, non-fictional, as well as fictional, content. The word originates from the Latin ''Documentum'', w ...
, My Music, and My Pictures on the
Start menu The Start menu is a graphical user interface element used in Microsoft Windows since Windows 95 and in other operating systems. It provides a central launching point for computer programs and performing other tasks in the Windows shell. It is name ...
were replaced by Saved Searches — ''All Documents'', ''All Music'', and ''All Pictures and Videos'' — that searched for documents, music, and photos and videos, respectively, with several other Saved Searches for specific content (e.g., authors for documents) also displayed in the navigation pane of Windows Explorer. When viewing ''All Music'' or traditional folders with music, for example, the navigation pane would include Saved Searches for all music, albums, artists, genres, favorite music, and ratings. Stacks in Saved Searches in pre-release builds of Windows Vista could also be created by users, or write properties to data by
drag-and-drop In computer graphical user interfaces, drag and drop is a pointing device gesture in which the user selects a virtual object by "grabbing" it and dragging it to a different location or onto another virtual object. In general, it can be used to ...
— in a feature known as ''metadata painting'', dragging a document onto an author stack, for example, would assign that author to the document. In later builds, Microsoft replaced these Saved Searches with a single ''Library'' Saved Search that aggregated content from all locations with subqueries for individual types (e.g., the Music Library searched Library for all music). Microsoft had sought to include metadata painting and user profile namespace virtual folders since the development of
WinFS WinFS (short for Windows Future Storage) was the code name for a canceled data storage and management system project based on relational databases, developed by Microsoft and first demonstrated in 2003 as an advanced storage subsystem for the Micro ...
; the objective was for Saved Searches to become the primary way users interact with data. Microsoft reportedly received extensive feedback that these changes were confusing — having Saved Searches in the new user profile namespace caused users to believe there were several folders with similar names. Accordingly, Microsoft removed the ''Library'' Saved Search and its associated subqueries; however, Windows Vista still includes ''Recent Documents'', ''Recent E-mail,'' ''Recent Music,'' ''Recent Pictures and Videos,'' and ''Recently Changed'' Saved Searches, all of which use a single ''Indexed Locations'' Saved Search in accordance with the previous Library concept. These Saved Searches were previously known as ''Last 30 Days Documents'', ''Last 7 Days Email'', ''Fresh Tracks'', and ''Last 30 Days Pictures and Videos''.


Libraries

Windows 7 introduces ''Libraries'' to display and organize content. Similar to Saved Searches, a Library is an XML file with a unique extension — .library-ms extension — and it is a collection of files organized by specified locations. Unlike Saved Searches, however, users must specify folder locations, and Libraries can display content that does not match the type of the Library (e.g., the Pictures Library may display a document if any subfolders include documents). Libraries have a shell namespace extension in Explorer and their XML files can be reused across Windows installations or the network.


GNOME

In GNOME 2.14, a saved search is a virtual folder whose contents are the result of a
Nautilus The nautilus (, ) is a pelagic marine mollusc of the cephalopod family Nautilidae. The nautilus is the sole extant family of the superfamily Nautilaceae and of its smaller but near equal suborder, Nautilina. It comprises six living species in t ...
search, which has multiple backends. The contents of these folders are determined dynamically when the folder is opened, and updated automatically when files are created or modified.


Other implementations


Email clients

Virtual folders are also a well-established construct in
email client An email client, email reader or, more formally, message user agent (MUA) or mail user agent is a computer program used to access and manage a user's email. A web application which provides message management, composition, and reception functio ...
s. In early 1991, the Emacs-based mail reader VM provided a virtual folder facility in its version 5.09. VM allows the users to define virtual folders using rules, taking their mail content from one or more physical folders and based on selection criteria dealing with dates, authors, recipient, subject, message body etc. Virtual folders can also be created interactively and take content from previously defined virtual folders, thereby cascading the selection criteria. The
Evolution Evolution is change in the heritable characteristics of biological populations over successive generations. These characteristics are the expressions of genes, which are passed on from parent to offspring during reproduction. Variation ...
email client created by Helix Code in 2000, also incorporated virtual folders. Folders can be created that automatically list e-mails matching user-defined rules, for example all e-mail from a particular address or all e-mail that includes a specific keyword. The
Opera Opera is a form of theatre in which music is a fundamental component and dramatic roles are taken by singers. Such a "work" (the literal translation of the Italian word "opera") is typically a collaboration between a composer and a librett ...
web browser released a new mail client (beta in November 2002, final version in Jan 2003), M2 in which virtual folders (called access points) were used for all email management. Virtual folders were automatically made for active contacts, for attachments and for assigned labels. Virtual folders were also automatically generated whenever a search was performed, and manual virtual folders could use multiple logical mail header rules for their construction (including using
regular expression A regular expression (shortened as regex or regexp; sometimes referred to as rational expression) is a sequence of characters that specifies a search pattern in text. Usually such patterns are used by string-searching algorithms for "find" or ...
s). Microsoft Outlook 2003 added a similar feature called ''Search Folders''.
Gmail Gmail is a free email service provided by Google. As of 2019, it had 1.5 billion active users worldwide. A user typically accesses Gmail in a web browser or the official mobile app. Google also supports the use of email clients via the POP an ...
, first released in 2004, bases all of its mail management on virtual folders accessed via labels.
Mozilla Thunderbird Mozilla Thunderbird is a free and open-source cross-platform email client, personal information manager, news client, RSS and chat client developed by the Mozilla Foundation and operated by subsidiary MZLA Technologies Corporation. The project s ...
also has the ability to create search folders and from version 1.5 allowed the search to be done over more than one email account.


Music clients

In July 2002, Apple announced version 3 of
iTunes iTunes () is a software program that acts as a media player, media library, mobile device management utility, and the client app for the iTunes Store. Developed by Apple Inc., it is used to purchase, play, download, and organize digital mul ...
which includes ''Smart Playlists'' which can be considered a variant of a virtual folder. The only difference is that the search executed on accessing them is not on the file system's folder hierarchy, but on their internal data-store. Microsoft also added a similar feature to version 9 of
Windows Media Player Windows Media Player (WMP) is the first media player and media library application that was developed by Microsoft for playing audio, video and viewing images on personal computers running the Microsoft Windows operating system, as well as on ...
in Windows XP called ''Auto Playlists'' in 2003.


See also

*
Features new to Windows Vista Compared with previous versions of Microsoft Windows, features new to Windows Vista are very numerous, covering most aspects of the operating system, including additional management features, new aspects of security and safety, new I/O techno ...
*
WinFS WinFS (short for Windows Future Storage) was the code name for a canceled data storage and management system project based on relational databases, developed by Microsoft and first demonstrated in 2003 as an advanced storage subsystem for the Micro ...


Notes


References

{{Reflist Windows Vista Computer file systems Windows disk file systems