I have a tar (websites.tgz) that contain a bunch of Drupal websites that are tarred up starting with 'htdocs'
I need to untar them into
and so on. But I cannot place the websites.tgz file in /local and extract downward due to permissions. It is currently in my home directory. How can I untar the contents under /local/htdocs, without including the top-level htdocs directory?
I am trying to avoid having:
Thanks for any help.