File Collections

A file collection is a virtual folder that acts as a container for other files and folders. The items in a file collection do not need to be stored in the same physical folder - they can reside in other folders, on other disks, or even in other virtual file systems like FTP. When you add items to a collection they are not actually moved or modified at all - all Opus stores is a reference to the original file.

Coll Search.png

File collections are used by the Find Files and Duplicate File Finder functions to display the results of the search. When you perform a search with these tools, any matching files are automatically added to the specified file collection. You can see an example of this in the above screenshot - a search for image files returned pictures stored in two different locations, but in the results collection they are presented as if they were all in the same place.

You can work with the files in a file collection (copy them, rename them, delete them, etc.) just like you would with the real files. Collections are also used by the Flickr photo-sharing synchronization system to store references to your photos no matter where on your system they are physically located.

 

The root File Collections folder contains all your file collections (you can't add items to the root itself). To access the file collections root you can:

 

From the file collections root you can use the New Folder function on the toolbar to create a new collection. You can also create sub-collections in the same way - simply navigate to the parent collection and create a new folder like normal. You can assign your own icon to a file collection through its Properties dialog - you can also assign a description string if desired.

 

You can also define the default format for collections - this comes pre-configured to add the Location column whenever you navigate to a collection. This column is useful as it displays the real location of the items in the collection.

 

The File Types dialog can be used to add commands to the context menu for items in collections. Two commands are pre-defined; Remove from Collection (mentioned above), and Open Containing Folder. The latter command uses the Go OPENCONTAINER function to open the real folder that contains the selected collection item.

 

File collections are referenced internally using a URL-style path format, with the coll:// prefix. For example, the path of the default find results collection is coll://Find Results/. You can type this sort of path into the location field, or use it in buttons and hotkeys with the internal command set to automate your use of collections. For example, say you had a collection called FavePhotos you use often to keep track of your favorite photos. Whenever you have an image that you want to add to it, you could expand the File Collections branch in the tree, locate your collection, then click and drag the image and drop it on the collection folder. If you're doing that often though, there's a much quicker way - you could set up a button or hotkey to automatically add the selected files to that collection, using the raw Copy command.

    Coll Faves Hotkey.png 

This screenshot illustrates an example hotkey that performs this function. Now all you would need to do is select the photos you want to keep, press Ctrl+Shift+P, and the files would be automatically added to the FavePhotos file collection.

 

Unfortunately the file collections system is only available within Directory Opus - you can't access your collections from other programs or from Explorer. However there are a couple of options on the Miscellaneous / Windows Integration page in Preferences that let you integrate collections more tightly into the system:

 

The DOpusRT command can also be used from outside of Opus to access and manipulate file collections - see External Manipulation of File Collections for more information.