I'd like to compress and package everything, including files and folders in current directory, into a single ZIP file on Ubuntu.
What would be the most convenient command for this (and name of the tool needed to be installed if any)?
Edit: What if I need to exclude one folder or several files?
Best Answer
Install
zip
and useYou can use the flags
-0
(none) to-9
(best) to change compressionrateExcluding files can be done via the
-x
flag. From the man-page: