原帖由
kaitai502 于 2008-3-18 08:44 发表

我想实现这样的功能:1)判断是否是正确的目录
2)输入文件名,查找并复制到指定的目录lmtv下!
可是我这样写,好像有点问题 ...
- define the function at the top of the script, instead of in the middle the script
Most importantly.
try it out on command line before put everything in a big script -- go step by step. :-)