I am considering creating a file manager that tracks files on the user system, but saves its metadata separately.
Is there a way to determine if the user is moving the file outside of my application (or while my application is not running) to find out where the file has moved? For example, if a user has a photo stored in ~/Desktop/pictures (and my database has it as a record) and they move it to ~/Documents/My Pictures , I would like to be able to keep the link to it still is there a way to do this? Similarly, if they rename a file, I would like to know it in the same file.
In other words - can you ask the system to notify you of changes in file names and paths? Is there an identifier for files available for the application that contains the correct link, regardless of its actual name or path?
I am new to the Cocoa API on the desktop; I am one of those who learned Obj-C for programming on the iPhone and would like to apply it to the desktop.
source share