How do I tar a directory without retaining the directory structure?

How do I tar a directory without retaining the directory structure?

Hi,

I want to create tar file without retaining the directory permission.

How to do this?

Thanks

View Answers

April 8, 2018 at 5:26 AM

Use

tar czf ~/backup.tgz

Thanks









Related Tutorials/Questions & Answers:
How do I tar a directory without retaining the directory structure?
How do I tar a directory without retaining the directory structure?
Advertisements
How do I compress a tar file in Linux
How do I compress a tar file in Linux
How do I compress a tar file in Linux
tar directory and subdirectories
How do I become a data scientist without coding experience in India?
How do I become a data scientist without a PhD?
how do i make a phone call from my app without quitting my application
how to create tar file in ubuntu
how to create tar file in ubuntu
How do I become a data scientist without going to college/having a degree?
How to move a file from a directory to other directory
How do I upgrade mysql?
How do Unzip a directory and all its contents using ZipEntry class in java.
How can I do it? .click();
how to browse folder and directory in jsp
how to copy the directory in to ftp server using java
how do i solve this problem?
How to load file from the directory in J2ME?
how do i solve this question?
How do i do the coding for 'leaving a comment' in java
How to make directory in java
I want to Do Addtion ,Substraction,Division,Multiplication in C Without using Any Arithmetic Operators - Development process
I want to Do Addtion ,Substraction,Division,Multiplication in C Without using Any Arithmetic Operators - Development process
How do I decompile Java class files?
How do I initialize a byte array in Java?
How do I compare strings in Java?
How do I compile the registration form?
How do I get started with Bootstrap
How do I get started with Bootstrap
How do I learn Spring Framework?
How do I learn Spring Framework?
How do I learn Spring Framework?
How do I learn Spring Framework?
How do I learn Spring Framework?
How do I study big data?
How do I start machine learning with Python? What should I do if I am a beginner?
How do I generate random number?
How do I do this program? I'm new to Java programming...
how do i grab the url in php?
How do I start learning MongoDB?
How do I download urllib3 for python 2.7
How do I learn Python data science?
How do I start a data mining company?
How do I start learning AI?
How do I become an AI engineer?
How can I do data science course?
How do I prepare for a data scientist interview?
How do I start a data science career?

Ads