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

Ads









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 a PhD?
How do I become a data scientist without coding experience in India?
How to move a file from a directory to other directory
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 do i make a phone call from my app without quitting my application
how to browse folder and directory in jsp
How do I upgrade mysql?
How can I do it? .click();
how to copy file from one directory to another in java with examples
How to delete a directory which is having some files already.
how to read files of directory objective c
how do i solve this problem?
how do i solve this question?
How do i do the coding for 'leaving a comment' in java
How to find MySQL data directory name?
How do I decompile Java class files?
How do I initialize a byte array in Java?
How do I compare strings in Java?
Traversing a file and directory under a directory
Create Directory in PHP
run command for all files in directory bash
How do I compile the registration form?
r set working directory

Ads