Tracking Moved Files and Folders
Beta. This feature is new. It is off by default. To use it, turn on Track moved files and folders (beta) in the Updating group on the General Scanning page of your scanning profile.
When you move a file or a folder to a different place, an ordinary update sees two separate events: the item is deleted from its old place and added as a new item in its new place. All the information that you entered for it (comments, tags, ratings, custom fields, thumbnails and AI descriptions) is deleted together with the old item.
The “Track Moved Files and Folders” feature finds such moves during the update. WinCatalog then moves the existing catalog item to its new place, so all its information stays. A moved file is not scanned again, so the update is also faster. A moved folder keeps all its contents. A moved archive is found as a file, and its scanned contents move with it.
Where WinCatalog looks for moves
WinCatalog finds moves only inside the disk or folder that you update:
- If you update a whole disk, WinCatalog finds the files and folders that were moved anywhere on that disk.
- If you update a folder, WinCatalog finds only the moves inside that folder. A file moved into this folder from another place (for example, from another folder that you added to the catalog as a separate item) is not found as moved: it is added as a new file.
If you add the folders of one drive to the catalog as separate items and you move files between these folders, add and update the whole drive instead, so that WinCatalog can find these moves.
How it works
During an update, WinCatalog checks each new file or folder that it finds:
- It looks for an item with the same name and the same kind (file or folder) in a different place in the catalog.
- It compares the fields that you selected (see below). All selected fields must match.
- It checks that the item is no longer in its old place. If the old file is still there, the new file is a copy, and WinCatalog adds it as a new file.
- If more than one catalog item matches, WinCatalog does not guess: it adds the file as a new file, and the old items are deleted as usual.
- If two or more new files match the same catalog item, WinCatalog also does not guess: it adds all of them as new files. For example, you move a file to one folder and copy it to another folder, and then delete the original.
If all these checks pass, WinCatalog moves the catalog item to its new place and shows it as Moved in the Update Report.
WinCatalog decides about folders when it finds them, and about files after it has examined the full disk or folder. During this last step, the progress window shows Finding moved files and folders… (n of N). If WinCatalog must calculate checksums for large files, this step can take some time. This is not extra work: without move tracking, WinCatalog calculates the checksums of these files when it adds them as new files.
Fields to compare
Under Select fields, choose the fields that must match. By default, all fields are selected, except Created.
| Field | Notes |
|---|---|
| Name | Always compared. The name must stay the same. |
| Size | Not used for folders, because the size of a folder changes when its contents change. |
| Created | Compared for files and folders. Not selected by default: Windows gives a file a new created date when you unpack it from an archive, copy it, or restore it from a backup, even if its content is the same. Select it only if your files keep their created dates. |
| Modified | Compared for files and folders. The date the content was last changed. The modified date of a folder changes when you add or delete files in it. |
| MD5, SHA256, CRC32 | Checksums, compared for files only. A checksum is compared only if your scanning profile calculates it, the file is inside the size limits for checksums of your profile, and the catalog already has the checksum for the old file. WinCatalog reads the moved file one time to calculate all the checksums. |
The more fields you select, the safer the result. Checksums give the safest result, but WinCatalog must read the file to calculate them.
Important considerations
- The name must stay the same. Renamed files and folders are not tracked: they are deleted and added as new.
- Moved and changed files are not tracked. If a selected field changed (for example, you edited a file after you moved it), the file is added as new.
- Only inside the updated disk or folder. See Where WinCatalog looks for moves above.
- Copies are not moves. If the original file is still in its old place, the new file is added as a new file.
- A folder with changed contents. If you select Modified, a moved folder in which you added or deleted files may not match, because its date changed. In this case, the files inside it are still found as moved one by one and keep their information. Only the comment and tags of the folder itself are lost.
- Many items with the same name. If the catalog has more than 20 items with the same name (and the same size, if Size is selected), WinCatalog does not examine them: the file is added as new. This can occur for common names, such as
folder.jpgordesktop.ini. - Symbolic links and junctions are not tracked. They are added as new.