zip command not working

后端 未结 7 1012

I am trying to zip a file using shell script command. I am using following command:

  zip ./test/step1.zip $FILES

where $FILES contain all the

7条回答
  •  刺人心
    刺人心 (楼主)
    2021-02-13 07:00

    I converted my script for unix environment using dos2unix command and executed my script as ./myscript.sh instead bash myscript.sh.

提交回复
热议问题