<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
    <title></title>
  </head>
  <body bgcolor="#ffffff" text="#000000">
    OK, I must have finally hit the right search string on Google. I
    found a page that offers a command for copying the site's files from
    one directory to another while retaining permissions:<br>
    <code><br>
          cp -rp drupal_source drupal_destinatio</code>n<br>
    <span><span><br>
        But then the instructions continue with the sort of stuff that
        scares me to try because I don't know what most of this stuff
        means:<br>
        <ul>
          <p><span id="more-743"></span></p>
          <li>Update references to Drupal url, path, and database
            details (name, user, pass, and host). Sample commands below
            using grep:<br>
            <code>find /path/to/drupal -type f -exec perl -pi -e
              "s/example.com/example2.com/g" {} \;<br>
              find /path/to/drupal -type f -exec perl -pi -e
              "s/public_html\/example/public_html\/example2/g" {} \;<br>
              find /path/to/drupal -type f -exec perl -pi -e
              "s/db_name/db_name2/g" {} \;<br>
              find /path/to/drupal -type f -exec perl -pi -e
              "s/db_user/db_user2/g" {} \;<br>
              find /path/to/drupal -type f -exec perl -pi -e
              "s/db_pass/db_pass2/g" {} \;</code></li>
          <li><br>
          </li>
        </ul>
        I know enough to understand that this is some sort of
        grepping/perl script (pardon me if my vocabulary here is
        laughable) to fix any absolute path references.<br>
        <br>
        BUT ... I don't understand why there would be any. When I link
        from one page to another on my site I only use the relative
        path. I would hope that images inserted into node content would
        also have internal references in the database.<br>
        <br>
        Am I wrong? Is it really necessary to do anything other than to
        keep the settings.php files distinct for the public domain and
        the protected subdomain that serves as my sandbox?<br>
        <br>
        btw, i also use two separate databases. So I do understand that
        both the baseURL and databasename in settings.php will be
        different for production vs. sandbox<br>
        <br>
        I have noticed that everyone out on the World Wide Web seems to
        have a different "truth" when it comes to how best to move a
        Drupal site<br>
        <br>
        Yet I appreciate any input from this list!!<br>
        <br>
        kazar<br>
         </span><br>
       
    </span><br>
  </body>
</html>