From: greg Date: 2006-11-03T03:05:13+09:00 Subject: Re: remote file glob I think I will just use the find command. I did notice that if I do the following: session.process.popen3( cmd ) do |input, output, error| puts output.read end For my find command, it will think it is finished reading before find is done! I solved this by using: shell = session.shell.sync puts shell.exec( find_cmd ).stdout Thanks guys!