[Ilugc] reg FIND command in Unix

Venkatraman S blizzard_venkat at yahoo.co.in
Tue Jun 27 02:42:44 IST 2006

Hi All,

I am using the following comand to recurse through directories and fetch me the files that are conforming to *.zip format in the ascending order of timestamps.

    find "$sdir" -name *.zip -type f | xargs ls -tr

where $sdir is the directory path.

I need to fetch all the directories that contain the *.zip file but do not contain *.log file. How do i achieve this?

Ring'em or ping'em. Make  PC-to-phone calls as low as 1¢/min with Yahoo! Messenger with Voice.

More information about the ilugc mailing list