[Interest] Watching files two ways
alexander golks
alex at golks.de
Mon Mar 24 14:50:44 CET 2014
Am Mon, 24 Mar 2014 12:47:36 +0100
schrieb Sensei <senseiwa at gmail.com>:
> Right now I can detect if a file changes, and it's ok. However, can I
> track if a file *comes back*?
>
> For instance, if I rename a watched file "a.txt" and rename it to
> "b.txt", I get the slot running. Can I detect if the "b.txt" gets
> renamed back to "a.txt"?
i haven't tried, but perhaps watching the parent directory itself will help.
--
/*
* F.S. Fitzgerald to Hemingway:
* "Ernest, the rich are different from us."
* Hemingway:
* "Yes. They have more money."
*/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20140324/3215f933/attachment.sig>
More information about the Interest
mailing list