Improve Export as Folder macro by adding ZIP and Delete Folder

thank you again.

I am trying to understand what I am doing wrong in adapting your macro.

If I created a folder called test in downloads

~/Downloads/test

Should the following set of 2 actions zip the test folder and delete the original ? I am trying to understand why it does not in a simple 2 action macro below.

Note that your shell script is unchanged. All I changed was the local destination path which has a fixed name (not a variable)

I check and the ~/Downloads/test folder does exist.

thank you for ... your patience !

ZZ Test Zip and Delete Test Folder in downlaods.kmmacros (4.2 KB)

Image

It's that darn ~ !

This addresses your test macro (see red action)...

Download: ZZ Test Zip and Delete Test Folder in downlaods.kmmacros (4.7 KB)

Macro-Image



BTW, with the macro I shared above, all of that and more are handled. For example if you were to specify...

~/Downloads/a/b/c/d

The macro would create folder d and all folders above.

If you want to use the macro I shared above, but are having some difficulty, please let me know.

1 Like

OK all clear. thank you very much !