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 
Shell :: 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 
Shell :: php 7.4 raspberry pi 
Shell :: scp copy directories 
Shell :: how to ls git branch 
Shell :: linux how to execute a file 
Shell :: how to go home directory in linux 
Shell :: EDIT WSL2 terminal user% 
Shell :: jest for react 
Shell :: kubectl kubernetes port forward 
Shell :: uncommit the last commit 
Shell :: How do I save terminal output to a file? 
Shell :: git cherry pick multiple commits 
Shell :: openjdk-17-jdk 
Shell :: how to set environment variables in linux 
Shell :: docker-compose mongodb replica - init replica 
Shell :: batch script comment 
Shell :: mv command in linux 
Shell :: common use of python sys library 
Shell :: git remove an empty commit 
Shell :: IDE for work marckdown file on ubuntu 
Shell :: sync just one file between branches 
Shell :: linkerd kubernetes 
ADD CONTENT
Topic
Content
Source link
Name
5+1 =