zip.txt Created by user: orko date:02.08.2021 #How to put all the files I want in a zip archive. # below is a way to recursivly (-r) put a directory and also --encrypt the archive.zip # The process prompts for your encryption password after you press enter. $zip -r --encrypt [archive.zip] [path-to-dir] # This command just -r recursivly puts all file in a directory in chosen archive.zip. # whitout encryption at all. $zip -r [archive.zip] [path-to-dir] # The following command appends files that are not allready in the archive to the zip file. use the zip command add to just add non excistant files to an allready existant zip archive #You can use find [searchfrom-dir] | grep -i [pattern] >tozip and then the -@ [tozip] file # to make zip read the file and zip all files into tozip.zip using the example below. $zip -@ tozip #EOF