I have found here at stackoveflow some codes on how to ZIP a specific file, but how about a specific folder?
Folder/ index.html picture.jpg important.txt
My Folder, there are files. after zipping the
My Folder, i also want to delete the whole content of the folder except
Found this here at stack
I need your help. thanks.
Code updated 2015/04/22.
Zip a whole folder:
Zip a whole folder + delete all files except "important.txt":