linux compress folder

# gzip my-folder-name
#
# flags:
# 	z = filter the archive through gzip
# 	c = create a new archive
# 	v = verbosely list files processed
# 	f = use archive file or device ARCHIVE
#
# Example:
tar -zcvf my-filename.tar.gz my-folder-name

3.33
3

                                    tar cf ostechnix.tar ostechnix/
# Here, c flag refers create new archive and f refers the file name.

3.33 (3 Votes)
0
3.67
3
DBWord 125 points

                                    tar -czvf archive.tar.gz stuff

3.67 (3 Votes)
0
3.88
8

                                    tar -zcf archive-name.tar.gz foldername

3.88 (8 Votes)
0
4.43
7

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

4.43 (7 Votes)
0
Are there any code examples left?
Create a Free Account
Unlock the power of data and AI by diving into Python, ChatGPT, SQL, Power BI, and beyond.
Sign up
Develop soft skills on BrainApps
Complete the IQ Test
Relative searches
tar zip in terminal a folder tar gz folder extract unix tar folder add directory to archive using bash tar dir linux tar dir tar gzip folders how to tar zip a directory how to compress folder using linux commands zip dir using tar linux how to tar a directory linux folder linux zip tar.gz how to unzip a tar.gz file to new folder how to zip .tar.gz of a folder compress folder linux command line tar a directory to gzip linux compress folders linux compress a folder tar gz extract to folder compress folder linux terminal tar zip folder in linux linux zip folder to tar use tar and gzip together unzip specific folder tar.gz compress a folder unix how to make tar zip a folder in linux linux tar zip folder and subfolders tar and gzip a file tar a folder command tar zip two folders linux command how to tar a directory in linux with examples tar make tar.gz file with content of the folder zip a folder tar linux command line gzip tar folder tar a directory command tar command folder tar folder in linux linux terminal compress folder zip folder in tar gzip dir with tar tar current directory extract tar.gz to folder tar gzip folder centos zip folder tar tar extract gzip linux tar zip to directory how to zip a folder in linux using tar extract tar gz folder linux tar zip tar zip directory how to gzip existing tar how to gzip tar how to tar directory how to zip a folder in linux terminal using tar how to tar folder linux tar command tar directory linux directory gz file unzip using tar tar folder command linux tar gzip directory tar folder current tar zip folder contents tar and gzip tar + gzip tar and gzip in one step tar directory linux example tar gzip a directory directory to tar command linux tar a directory gzip tar windows tar without gzip tar gzip folder command line tar gzip tar command to zip a directory ubuntu tar gzip a folder how to tar a folder in .gz tar terminal folder cd directory tar get output directory linux zip folder without full path make a tar directory tamu directory tragz folder linux compress folder tar command tar gzip folder command in linux bash compress a folder how to tar entire folder archive the folder linux make tarball of directory bash Linux tar zip file tar file linux command line tar vs zip compress and uncompress folders with tar how to archive a dir with tar tar a foldedr in linux bash create tar of folder create a tar file from folder tar compress folders linux tar compress a folder ubuntu tar create zip file bash compress folder tar diretory tar files in directory tar folder debian tar folder backup how to compress a folder linux Create tar archive from directory Crate tar archive from directory zip folder with tar ubuntu zip folder with tar tar comprime directory tar a folder in ubuntu tar gz all contnets of directory linux make a tar folder linux linux tar a whole direcorty how to compress a directory in linux using zip compress folders bash linux extract tar directory linux tar gz folder tar up files in a directory linux zip tar.gz tar command linux compress folder tar -tf command linux compress folder to tgz linux extract zip and install tar.gz linux zip dir tar is zip? how to comress a file tar tar fukes create tar folder linux linux zip folder commande tar un zip linux create .zip file tar folder to tar archive tar archive a directory compress folder into tar.zip zip folder into tar.gz compress folder into tar.gz how to tar gz folder how to compress a folder using tar in linux linux compress folder command compress big folder linux linux zip a directory linux zip a folder tar of a dir tar of a directory tar command to compress create a tar of a directory tar command tar compress folder linux compress folder centos bash tar dirextory linux archive directory archive directory linux how to tar a folder linux tar gz linux floder how to create a folder into a tar file linux debian tar directory tar compress to folder tar colder linux how to compress everything in current folder into a tar.gz tar directories bash tar gzip linux how to archive and compress a directory how to tar entire directory centos tarfolder how to tar backup folder in linux linux how to tar a folder compress directory in linux compress dir in linux tar gs compression linux zip the folder terminal tar current directory extract zip files linux terminal with tar how to tar folder in linux tar the directory zip a folder linux zip a directory in linux using tar linux compress directory into tar.gz create tar from directory linux tar to direcory linux comand to tar folder tar gz a folder how to compress folder in the linux zipped into tar file linux compress a folder to a file linux compres a folder to a file compress directory in tar how to compress directory in linux cmd tar gzip dir tar compress folder files how to tar a folder creating a tar tcreate tar from folder tar compress folder tar create archive tar up folder files -rom tar tar zip files tar czf directory tar.gz linx folder put directory into tar file tar cvf directory compress folder tar create tar of a folder linux pack folder how to tar gz a folder tar zip folders how to compress entire directory into spearte files tar pack files how to compress directry tar tar gz foleder linux convert a directory to tar in linux convert a directory to tar.gz in linux compress a directory to tar.gz in linux compress a directory to tar.gz convert a directory to tar tar zip linux pack folder linux tar for each zip how to save tar gz a directory tar zip folder compress a folder in linux tar zip entire folder structure command to compress folder linux tar command to archive folder tar gz directory tar.gz a folder liunx tar linux tar.gz folder linux compress using tar how to zip using tar create tar of folder tar gzip a dir tar folders tar a foloder in linux zipping with tar tar a afolder tar gz a copy of a directory tar.gz dir compress folder in linux how to compress a folder in linux targ a folder linux compress dir linux compress a folder tar.gz tar a file tar zip compress folder ubuntu tarball a dir linux compress directory shell script tar files how to compress any folder in linux cli tar directory how to rake entire directory how tar a fodler tar a folder inux tar compess directory tar .tgz folder linux compress tar tar and zip folder using the tar utility compress and archive a directory in linux comptrass foder with tar tar a directory compress entire foldere linux zip folder tar how to zip the folder in ubuntu using tar command convert a folder to tar.gz linux command line how to archive a directory in linux with tar tar folder cli compress entire directory linux bash tar gz folder tar folder linux command compress a folder linux tar a directory on linux linux tar compress folder how to compress a folder in linux terminal tar.gz folder linux shell script compress folder compress multiple DIRECTORIES GZ FILE UBUNTU compress full directory targz ubuntu command line linux tar folder to file how to convert folder to tar.gz in linux tar compress directory linux tar xz compress folder linux compress tar.gz LINUX compress file command in linux backup entire folder linux tar.gz how to zip a file in linux using tar tar a directory linux linux zip to tar linux tar a folder compress directory linux command for tar folder linux compress folders linux tar up a folder in bash tar go through every directory and compress it compress 1 folder linux compress directories bash how to create a tar.gz directory in linux linux archive a folder linux archive tar.gz linux command compress folder linux compress multiple files big list how to tar a folder in linux linux compact file ubuntu tar tar and zip file in linux create tar gz folder linux linux how to tar a directory tar up a directory in linux compress file tar gz linux linux backup folder tar gz how to tar save directory and subdirectories in linux compress folder to "tgz" linux make tar of folder linux how to compress folder in linux conpress folder linux tar a linux folder how to tar a directory in linux example conpress folder to tgz linux how to compress "tgz" file linux compress folder in linux command linux .tar.gz tar folder bash linux compress a directory tar zip folder linux ubuntu tar.gz folder compress folder linux tar a folder linux linux tar directory tar the folder how to make a tar.gz of a folder tar zip command creating a folder tar gz a diretory Compress Folfer using terminal Linux tar directory linux tar zip folder tar archive folder tar directory linux bash tar directory tar an entire directory tar and gz folder tar zcvf make tar folder tar a folder create tar xz move folder tar folder tar.gz folder tar gz folder how tar a folder tar gz folder linux tar zip a folder create gz archive linux how to make directory using git bash tar folder linux command line linux compress folder linux tar folder tar a folder in linux gzip folder with tar tar gz dir linux linux archive folder tar folder linux linux compress directory tar linux folder linux compress directory tar.gz how to put directory in archive bash
Made with love
This website uses cookies to make IQCode work for you. By using this site, you agree to our cookie policy

Welcome Back!

Sign up to unlock all of IQCode features:
  • Test your skills and track progress
  • Engage in comprehensive interactive courses
  • Commit to daily skill-enhancing challenges
  • Solve practical, real-world issues
  • Share your insights and learnings
Create an account
Sign in
Recover lost password
Or log in with

Create a Free Account

Sign up to unlock all of IQCode features:
  • Test your skills and track progress
  • Engage in comprehensive interactive courses
  • Commit to daily skill-enhancing challenges
  • Solve practical, real-world issues
  • Share your insights and learnings
Create an account
Sign up
Or sign up with
By signing up, you agree to the Terms and Conditions and Privacy Policy. You also agree to receive product-related marketing emails from IQCode, which you can unsubscribe from at any time.
Creating a new code example
Code snippet title
Source