Your script w.ill receive up to two arguments on the comman.d line: 汽车
.* First argument (required) will be the "source" dire.ctory where th.e JPEG file.s are located as an absolute or relative-to-home directory投资
* Second argument (opt.ional) will be the "desti.nation" directory where the repor.t file will be created
Your script will need to perform .the following checks for the co.mmand line. arguments: 婚庆
* Check if the source d.irectory is su.pplied; exit with sta.tus code 1 on error学习
* Check if .the source directory exists; .exit with status code .2 on error.
* Check is the sour.ce directory is not relative; exit with status .code. 3 on error 建材
Each of the above,. will result. in an appropriate error message sent. to the terminal before exiting. 学习
请问应.该怎么做呢?现在一点头绪也没有。服务器