Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

archive file

tar -czvf name-of-archive.tar.gz /path/to/directory-or-file

# -c: Create an archive.
# -z: Compress the archive with gzip.
# -v: Display progress in the terminal while creating the archive, also known as “verbose” mode. The v is always optional in these commands, but it’s helpful.
# -f: Allows you to specify the filename of the archive.
Comment

PREVIOUS NEXT
Code Example
Shell :: samba check config 
Shell :: how to move git clone to another git repo 
Shell :: login to docker registry from terminal 
Shell :: append a string in all files name linux 
:: create json from terminal 
Shell :: nano show line numbers 
Shell :: how to save changes made to models in django 
Shell :: mac terminal wifi commands 
Shell :: deno install windows 
:: php 7.4 raspberry pi 
Shell :: scp copy directories 
Shell :: how to ls git branch 
Shell :: linux how to execute a file 
:: how to go home directory in linux 
:: EDIT WSL2 terminal user% 
Shell :: jest for react 
Shell :: kubectl kubernetes port forward 
::  
Shell :: How do I save terminal output to a file? 
Shell :: create bare repository git 
Shell :: failed: Invalid argument 
Shell :: sms_autofill flutter 
Shell :: GIT: List all currently configured remotes 
Shell :: how to change your bash setup 
Shell :: mac make bootable usb 
Shell :: how to move a file in bash 
Shell :: blue ocean jenkins 
Shell :: enable ssh on ubuntu 20.04 
Shell :: ssh set owner 
Shell :: connect to remote redis over tls 
ADD CONTENT
Topic
Content
Source link
Name
3+9 =