tar must compress directory including every bind mountpoint's content
How do we have tar archiving and compressing directory including all resolved mountpoints' contents under it?
|
What did you try, and was the problem with it?
|
yes, tar has some options to compress, what's wrong with them? (see man page)
|
tar(1) is one of those odd programs that is so complex the man page can be hard for people :) Also there are some differences between various UN*X systems.
So this is what I do, and this is compatible with the BSDs and AIX. Code:
tar -pcf- DIR | gzip > DIR.tar.gz |
All times are GMT -5. The time now is 07:13 PM. |