Quote:
Originally Posted by
Gautham
Thanks Jim.
In case of unix is there any feature for this.
You're giving us confusing and inadequate information to really help you.
You posted a message to the Linux and UNIX Forums asking how to do something to files in directory
\a\b\c, but that is a Windows style path; not a UNIX and Linux stye path.
You were given a suggestion that might work on Linux systems; and then you tell us you want a solution for UNIX systems. What you're asking for is not something that is covered by the standards (so if there is a way to do it, it may vary considerably from platform to platform).
What UNIX system are you using? Which release of that UNIX system are you using?
If you're using a recent Solaris or Mac OS X system, you might be able to use
dtrace (although doing so may require extended privileges). (See the
dtrace(1M) man page or the
Oracle Solaris Dynamic Tracing Guide for details.)
If you're using some other UNIX system, it might also have
dtrace or some other facility that will allow you to monitor changes to a directory in general, creation of files in a directory, or even creation of files whose name ends with
.txt in a specific directory.
Giving details about your environment when asking a question makes it much more likely that you will get answers that work for you.