Page 1 of 1

How can I run this shell line in PB?

Posted: Tue Apr 17, 2018 7:42 pm
by Wolfram
How can I use the following line with RunProgram()?

Code: Select all

cd /Users/YourName/Desktop/MyFolder; zip -r -X "MyZip.zip" *
This line puts everything inside of MyFolder into a zip file without the path.

Re: How can I run this shell line in PB?

Posted: Wed Apr 18, 2018 4:10 pm
by Desynchronised
Wolfram wrote:How can I use the following line with RunProgram()?

Code: Select all

cd /Users/YourName/Desktop/MyFolder; zip -r -X "MyZip.zip" *
This line puts everything inside of MyFolder into a zip file without the path.
Check out the packer.pb example in help files.