• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1237
  • Last Modified:

Tarballing a directory

Hello.

I want to tarball everything including files and subdirectories, starting with:
/home/web/pages/

How do I do this?

Thanks!
0
hankknight
Asked:
hankknight
2 Solutions
 
verborghsCommented:
tar -cvzf filename.tar.gz folder/
0
 
ahoffmannCommented:
> .. everything including  ..
everything as is (including symbolic links), or links expanded? I guess the later:

tar chzf tarball.tgz /home/web/pages/
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now