Computing.Net > Forums > Unix > Any DirectoryListener in Unix?

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Any DirectoryListener in Unix?

Reply to Message Icon

Name: dil
Date: November 23, 2005 at 05:45:17 Pacific
OS: unix
CPU/Ram: 256
Comment:

hi,

Problem: List the files in the order they have arrived to a particular directory.

Soultion?

Is it possible with Unix shell script to listen a particular directory and records the filename of its arrival in a list?

Any effort will be appreciated.

Thanks.



Sponsored Link
Ads by Google

Response Number 1
Name: Mukesh Kesharwani
Date: November 25, 2005 at 03:59:32 Pacific
Reply:

Thats very well possible. But need to know how files are comming on the directory. If its copied with some script with cp -p option then date and time stamp is use less. if it ftp transfer the u can track the files with date and time stamp. In case of of the cp -p then u have to take the difference in the previous and current. so on. If u let me know i will create an small concept script which will help u .

Mukesh Kesharwani
CISSP, CCNA, SCSA,CUA,CNA, MCSE,MCP+I,CCNSE,Certified HIPPA Security

http://www.keekar.com


0
Reply to Message Icon

Related Posts

See More


how to match pattern on B... Replace based on position



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Unix Forum Home


Sponsored links

Ads by Google


Results for: Any DirectoryListener in Unix?

Compress/Uncompress in UNIX www.computing.net/answers/unix/compressuncompress-in-unix/3096.html

variables in unix www.computing.net/answers/unix/variables-in-unix/5573.html

how to open int explorer in unix www.computing.net/answers/unix/how-to-open-int-explorer-in-unix/7241.html