Main Menu

Search

LINUX: Zip Command To ZIp Just FIles And Ignore Directory Structure Hierarchy In ZIp File

Below is the zip command to use to just zip files and ignore directory structure hierarchy in zip file.
 
zip -r <filename> /path/logs/testfile*
 
Replace and test files as needed.
 

No comments:

Post a Comment