hi,
i'm trying to write a script that monitors a specific directory under a parent folder.i.e, have a users folder, underneath the users folder i'll have user1, user2, user3, etc..and within each of these user folders i'll have folders called in and out. Now, what i'd like to do is monitor only the out folder within each of the user folders for files. If it detects a file, then etc..I have the script down for the detection and the action of the files, but what i'm struggling with is how to write the script whereby it detects only the files in the out folder, and if i add additional user folders like user 24, user25, and so on, the script will continue to enumerate each user folder, and look for files within the out folder for each user.
thanks for any assistance.....
M
i'm trying to write a script that monitors a specific directory under a parent folder.i.e, have a users folder, underneath the users folder i'll have user1, user2, user3, etc..and within each of these user folders i'll have folders called in and out. Now, what i'd like to do is monitor only the out folder within each of the user folders for files. If it detects a file, then etc..I have the script down for the detection and the action of the files, but what i'm struggling with is how to write the script whereby it detects only the files in the out folder, and if i add additional user folders like user 24, user25, and so on, the script will continue to enumerate each user folder, and look for files within the out folder for each user.
thanks for any assistance.....
M