Link to home
Start Free TrialLog in
Avatar of erzoolander
erzoolander

asked on

Linux Tarball Directories Question

Stupid question -

I know how to recursively tarball a directory when I'm in the directory chain right above it...

like say I'm in

/var/www/

and I want to tarball /var/www/httpdocs

I know how to do that.  But - say I don't want the tarball to start with the httpdocs directory...and just want to tarball up everything "from where I am."

So I go into /var/www/httpdocs and tarball from within there...what's the syntax for that?

Thanks!
SOLUTION
Avatar of kaufmed
kaufmed
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial