Re: Can I get the source filename?

John Ogness <[email protected]>
Newsgroups gmane.linux.dazuko.devel
Message-ID <[email protected]>
fred wu wrote:
> path of the destination,right? For when I copy a file
> from /root/abc to /tmp then acc.filename will become
> /tmp/abc ,right?
>  My question is Can I get the source path in dazuko as
> well? From the example, I want to get /root/abc.
> Anyway to do it?

If Dazuko is "watching" /root, then it should be detected with copy.
Otherwise, there is currently no way to get the copyfrom when only
watching the copyto. The reason for this is because Dazuko sees the
"open()" function. It does not see a "copy()" function. Dazuko only
knows that a file is being opened. It does not know why.

John Ogness

-- 
Dazuko Maintainer
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.