Quantcast
Channel: zip – Digerati Consulting
Viewing all articles
Browse latest Browse all 2

Zip only some files (jpg) via unix command line

$
0
0

To create a new zip archive ‘filename.zip’ including only select files, you can use an expression argument after the command. Enter the following in your terminal to compress all jpg fies in current directory:
# zip filename.zip *.jpg
If you want to only compress mp4 files with ‘720p’ in the filename, enter the following:
# zip filename.zip *720p*.mp4


Viewing all articles
Browse latest Browse all 2

Latest Images

Trending Articles



Latest Images