Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

linux zip a directory

zip -r filename.zip /path/to/folder1
Comment

zip folder linux

# -r (recursive) option to do the entire directory trees at once
zip -r myfiles.zip mydir
Comment

How To Zip Folder on Linux

# $ zip -r <output_file> <folder_1> <folder_2> ... <folder_n>

zip -r temp.zip Documents
Comment

PREVIOUS NEXT
Code Example
Shell :: git move tag position 
Shell :: ubuntu iptables add rule 
Shell :: rename all file extention terminal 
Shell :: install virtual environmnet windows 
Shell :: linux remove environment variable 
Shell :: git remove credentials windows 
Shell :: how to delete a word from a bash file 
Shell :: command to display the 3rd line of a file 
Shell :: change linux user password 
Shell :: ft2build.h: No such file or directory fedora 
Shell :: shell xargs 
Shell :: Jenkins ssh credentials in pipeline 
Shell :: install docker-compose 
Shell :: how to uninstall cuda 
Shell :: bash rename multiple files pattern 
Shell :: windows terminal background image 
Shell :: vscode update terminal limit 
Shell :: github desktop 
Shell :: chown a file 
Shell :: Fetch submodules recursively 
Shell :: where should gitignore file be 
Shell :: store environment variables in firebase functions 
Shell :: .gitignore add directory 
Shell :: debian 10 sources 
Shell :: command to start a system service 
Shell :: creat a new repository 
Shell :: force-logout user linux 
Shell :: install gitflow 
Shell :: neovim open file 
Shell :: how to kill recycling process linux 
ADD CONTENT
Topic
Content
Source link
Name
7+4 =