― I’M SHISHIR RAVEN

WEBSITE & App Builder

Lorem Ipsum is simply dummy text of the printing and type setting industry. Lorem Ipsum has been the industry’s standard dummy text.

Zip only specific extensions on Linux/Debian

Case Requirement: I wanted to download only the PHP files in the existing folder structure leaving all the images, js and other folders.

Zip Command

zip -R onlyphp.zip  '*.php'

Zip command to Download PHP and HTML Files.

zip -r foo website_folder -i '*.php' '*.html' '*.js' '*.css'

Posted

in

by

Tags: