Solved

Can I tar linux directory recursively AND Symbolic Links?

Posted on 2012-03-27
3
638 Views
Last Modified: 2012-03-27
I know that I can tar a linux directory with its subdirectories ?

and  can I tar symbolic links with the same command ?

Thanks
0
Comment
Question by:mshamsan
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 31

Expert Comment

by:farzanj
ID: 37773243
tar command is recursive.  Yes, you can tar everything together. Just tar the directory and the contents become part of tar
0
 

Author Comment

by:mshamsan
ID: 37773280
thanks, would you please send me an example of a recursive tar ..

Secondly, so the Symbolic Links will be part of tar with any special switch or consideration, right?
0
 
LVL 31

Accepted Solution

by:
farzanj earned 500 total points
ID: 37773324
No switch.

tar pcvf tarfile.tar dirname
0

Featured Post

Quiz: What Do These Organizations Have In Common?

Hint: Their teams ended up taking quizzes, too.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you have a server on collocation with the super-fast CPU, that doesn't mean that you get it running at full power. Here is a preamble. When doing inventory of Linux servers, that I'm administering, I've found that some of them are running on l…
SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question