Thanks for the insight Sam. I will try and see how a plugin through Finder might help me in this case, as terminal tools are quite low on the priority list. I have been exploring the use of SIMBL to achieve this but it is has not been easy so far. Would you have any recommendations for that?
On Dec 20, 11:55 am, Sam Moffatt <[email protected]> wrote: > There is no way of trapping this without forcing the user to use your > own commands to manipulate the files. You might be able to utilise a > Finder plugin to intercept the requests and you could ship custom > command line tools however when someone copies a file onto your FS you > will receive (roughly) a create request for the file and the data for > the file but nothing else particularly useful. > > Cheers, > > Sam Moffatthttp://pasamio.id.au > > > > On Mon, Dec 20, 2010 at 11:57 AM, Steve Teo <[email protected]> wrote: > > Hi all, > > > I am in the process of creating a file system which is based on > > virtual links. > > > Like for example: /home/user/documents (Real) is linked to the virtual > > file system path /documents (Virtual) and /home/user/documents2 (Real) > > is linked to /documents2 (Virtual) > > > I would like for users to actually add these linkages into the File > > System by using the Finder, through drag and drop or copy or > > otherwise; i.e. to say by drag and dropping the folder into the > > virtual file system, the linkage is created. The second way for users > > to add the linkage would be to do actual file operations using > > terminal, for eg. the command: mv /home/user/documents/ /volumes/ > > examplefs/documents > > > However I am facing a serious problem because I am unable to find a > > way to get the real folder path; without the path, the whole idea of > > this File system will not materialize. Is there any way to trap these > > file events in Finder or at the actual filesystem layer? > > > Thanks. > > > -- > > You received this message because you are subscribed to the Google Groups > > "MacFUSE" group. > > To post to this group, send email to [email protected]. > > To unsubscribe from this group, send email to > > [email protected]. > > For more options, visit this group > > athttp://groups.google.com/group/macfuse?hl=en. -- You received this message because you are subscribed to the Google Groups "MacFUSE" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/macfuse?hl=en.
