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

Ads
 

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 to move a file from a directory to other directory
How do I become a data scientist without coding experience in India?
How do I become a data scientist without a PhD?
how to browse folder and directory in jsp
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 do I upgrade mysql?
how to read files of directory objective c
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 can I do it? .click();
Moving file or directory from one directory to another
how do i solve this problem?
Traversing a file and directory under a directory
How to find MySQL data directory name?
how do i solve this question?
Create Directory in PHP
Java - Deleting the file or Directory
r set working directory
Search Directory on Ftp Server
FTP Server : Create Directory
FTP Server : Remove Directory
How do I initialize a byte array in Java?

Ads