How can I run this shell line in PB?

Linux specific forum
Wolfram
Enthusiast
Enthusiast
Posts: 567
Joined: Thu May 30, 2013 4:39 pm

How can I run this shell line in PB?

Post 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.
macOS Catalina 10.15.7
Desynchronised
New User
New User
Posts: 3
Joined: Mon Sep 18, 2017 7:45 pm

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

Post 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.
Post Reply