Skip to Content
0
Jan 13, 2012 at 04:00 PM

ZIP certain files in a directory using external OS commands

1108 Views

Hi all,

I want to zip certain files in a certain directory using an external OS command in SM69.

For example:

in directory /abc/xyz I have the following files:

fileaaa

filebbb

fileabc

Now only the files starting with 'filea' have to be put into an archive file (zip file) with name archive1.zip

How to do this?

I already searched the forum and tried by using the unix command syntax, but I didn't succeed yet. So I guess I could use some help here. Please be precise in how to fill in all the parameters in SM69 since I have already tried a lot of combinations.

So please be so kind and answer my question by giving the exact commands and parameters per entry below:

1. Operating system command

2. Parameters for operating system command

3. Additional parameters (if necessary)

Thanks in advance.

Micky.