In general, there is an application that does not allow configuration of the folder in which it writes files and I would like to intercept the recording / reading of files with a specific extension and redirect them to another folder.
- oneru.stackoverflow.com/a/542647/178576 - aleksandr barakin
|
2 answers
In this case, I would suggest using the symlink for a specific file or directory.
- 2Supplement the answer with an example or a link to a more detailed solution - Anatol
|
A completely incomprehensible question from my point of view.
- What is a "folder configuration"? This is all about what ?!
- How does this app "not give opportunity"? What does it do with this folder?
- What does "intercept recording" mean? Do you want to KNOW about the fact of recording, or do you want to REDAPE I / O?
- Yes, everything is simple :) The application he writes files to a specific folder, hard-coded in the application itself. A person wants him to write in another place, but the application settings (if any) do not allow it. So he asks how you can force this application to write not the place where you want the application, but where you want it ... Another thing is that it’s not very clear, but someone like Russian was taught in school :) - Harry
- I absolutely agree with @xboborx - make a symlink and you will be happy! :-) - Sergey
- Theoretically, inotify fits me, as indicated in the comments under the post. With it, and I will experiment. - Vampir
|