How do I zip all files in a directory in Linux?
Answer
To zip all files in a given directory on Linux with the zip tool, you can
use * with the zip command
. This will take care of files with and without extensions since extensions are not so special on Linux. The * will match zero or more characters, with the dot included.
Answer
To zip all files in a given directory on Linux with the zip tool, you can
use * with the zip command
. This will take care of files with and without extensions since extensions are not so special on Linux. The * will match zero or more characters, with the dot included.