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 to browse folder and directory in jsp
how to create tar file in ubuntu
how to create tar file in ubuntu
how do i make a phone call from my app without quitting my application
How do I upgrade mysql?
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 can I do it? .click();
how do i solve this problem?
how do i solve this question?
How do I decompile Java class files?
How do I initialize a byte array in Java?
How do I compare strings in Java?
How to find MySQL data directory name?
How do i do the coding for 'leaving a comment' in java
Create Directory in PHP
FTP Server : Create Directory
FTP Server : Remove Directory
Search Directory on Ftp Server
r set working directory
How do I compile the registration form?
run command for all files in directory bash
How do I get started with Bootstrap

Ads