loop a directory
Hi, Guys
I want to write a shell scripting to loop through a directory's files. And do something with files. I don't know how to do this kind of loop, any idea? Thanks advance! |
"I don't know how to do this kind of loop, any idea?"
Use the find command. You can set up the find command to drop each filename that it finds into a command. See: man find also these threads might help http://www.linuxquestions.org/questi...hreadid=331361 http://www.linuxquestions.org/questi...hreadid=301607 -------------------------- Steve Stites |
All times are GMT -5. The time now is 11:29 PM. |