From what I can tell no echos are needed, find should write out the filenames., but you should have answered the question yourself when testing your script. Your $1 and $2 scheme may work, but when parsing command line options in shells 'getopts' is the perferred way. Search this site or google, there are lots of examples.
|