0
votes
3answers
104 views

How to tar/zip a parent directory exculding a child direcory

I want tar a direcory which contains a number of child directories. But here my requirement is to tar the entire parent direcory excuding one child directory. Is there any command or procedure for ...
1
vote
4answers
2k views

Does tar preserve links? [duplicate]

Possible Duplicate: How can I tar ball a directory hierarchy with soft links in linux I am using tar to copy files and directories from a Solaris machine to a Linux machine. Does Tar ...
0
votes
1answer
209 views

Untar on Solaris 9 : longlink

I'm trying to install MySQL on a solaris 9 machine, and the version of tar on this machine apparently can't handle larger file names. The solution I've found from googling involves downloading GNU ...
0
votes
2answers
188 views

tar doubled the size of the directory

Under Solaris 10 I have directory called apps. I go into that directory and enter: -bash-3.00# du -hs 7.2G . Then I entered: tar -cvf /var/run/apps.tar apps The result: -bash-3.00# ls -lad ...
2
votes
5answers
4k views

tar - exclude does not work

I've supposed to archive a directory with tar and exclude some files. I have a directory $HOME/java which includes some .java and .class files. What I want to do is exclude all .class files using the ...
1
vote
1answer
63 views

What should I do if tar have no “-I” option?

I found "-I" option of tar is only availbe for Solaris, and no countpart in Linux machine, what should I do to realize same operation?