<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    Hi a,<br>
    <br>
    Does this work?<br>
    <br>
    rsync -av --dry-run --delete --exclude=".*/" /home/a/
    /media/a/6fbdc743-fc0f-46e4-aea3-8160914c34ec/backup<br>
    <br>
    I would probably run that as this.<br>
    <br>
    sudo rsync -Prvvac /home/path /desination/path<br>
    <br>
    I prefer to keep . files and I also like the progress. -r is
    recursive. I wouldn't delete anything though, unless you are in fact
    wanting to make a true 1:1 copy of that /path/ at the given time you
    run the command.<br>
    <br>
    Regards,<br>
    <br>
    <div class="moz-cite-prefix">On 5/27/19 4:47 PM, a wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:4d197ad1-f663-8835-0cab-23cdab9a7fe8@kaluta.us">
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <p>output<br>
      </p>
      <p>a@alap:~$ ls -lAs
        /media/6fbdc743-fc0f-46e4-aea3-8160914c34ec/backup<br>
        ls: cannot access
        '/media/6fbdc743-fc0f-46e4-aea3-8160914c34ec/backup': No such
        file or directory<br>
        <br>
      </p>
      <div class="moz-cite-prefix">On 5/27/19 4:42 PM, ABQLUG wrote:<br>
      </div>
      <blockquote type="cite"
        cite="mid:54afa141-18a4-1ce5-79db-81667c942dc3@abqlug.com">
        <meta http-equiv="Content-Type" content="text/html;
          charset=UTF-8">
        Hi a,<br>
        <br>
        What is the output of this:<br>
        <br>
        ls -lAs /media/6fbdc743-fc0f-46e4-aea3-8160914c34ec/backup<br>
        <br>
        Regards,<br>
        <br>
        Jared<br>
        <br>
        <div class="moz-cite-prefix">On 5/27/19 4:25 PM, a wrote:<br>
        </div>
        <blockquote type="cite"
          cite="mid:8b7f5ff8-46e8-756b-d532-adae122a254b@kaluta.us">
          <meta http-equiv="Content-Type" content="text/html;
            charset=UTF-8">
          <p>This is the entire method as I understand it, my reference:
            <br>
          </p>
          <p><a class="moz-txt-link-freetext"
href="https://justinsomnia.org/2009/03/how-to-rsync-your-ubuntu-home-directory-to-an-external-hard-drive/"
              moz-do-not-send="true">https://justinsomnia.org/2009/03/how-to-rsync-your-ubuntu-home-directory-to-an-external-hard-drive/</a><br>
          </p>
          <p>1.) a@alap:~$ rsync -av --delete --exclude=".*/" /home/a/
            /media/your_uuid/backup <br>
            sending incremental file lis</p>
          <p>2.)  rsync -av --delete --exclude=".*/" /home/a/
            /media/6fbdc743-fc0f-46e4-aea3-8160914c34ec/backup</p>
          <p>3.) a@alap:/media/a/6fbdc743-fc0f-46e4-aea3-8160914c34ec$
            mkdir backup <br>
            mkdir: cannot create directory ‘backup’: File exists <br>
          </p>
          <p>Thanks<br>
          </p>
          <div class="moz-cite-prefix">On 5/27/19 4:10 PM, ABQLUG wrote:<br>
          </div>
          <blockquote type="cite"
            cite="mid:3fb5da96-acf5-4d80-8958-863a4715fc1f@abqlug.com">
            <meta http-equiv="Content-Type" content="text/html;
              charset=UTF-8">
            Hi a,<br>
            <br>
            I believe that error is saying you're rsyncing to a
            non-existing folder. What is the command you are using?<br>
            <br>
            Also, what is the output of:<br>
            lsblk<br>
            <br>
            Thanks,<br>
            <br>
            Jared<br>
            <br>
            <div class="moz-cite-prefix">On 5/27/19 3:57 PM, a wrote:<br>
            </div>
            <blockquote type="cite"
              cite="mid:72fab011-9d62-bd5b-b05e-72725df9b636@kaluta.us">
              <meta http-equiv="Content-Type" content="text/html;
                charset=UTF-8">
              <p>Jared <br>
              </p>
              <p>thanks for the reply I took the easy way out with
                permissions used sudo nautilius. although it did dredge
                up shadow of the past with chmod.<br>
              </p>
              <p>If you have the inclination can you illustrate rsync
                suggestions by referring to the terminal output below in
                this email. I created a backup folder. but get the
                following"  "Can anyone explain, attachment .png of uuid
                info. error seems to be between  /media/a/uuid and a
                "switch"  occurs /media/uuid, what the hey/" <br>
              </p>
              <p>and this error message: "rsync error: error in file IO
                (code 11) at main.c(675) [Receiver=3.1.2] "</p>
              <p>If the problem is to messy to decipher I will concur.
                Then thanks all the same, congrats on the new club.
                Best, a<br>
              </p>
              <p><br>
              </p>
              <div class="moz-cite-prefix">On 5/27/19 3:17 PM, ABQLUG
                wrote:<br>
              </div>
              <blockquote type="cite"
                cite="mid:ccdfbe24-8620-ade5-840a-57cbbb4e966a@abqlug.com">
                <meta http-equiv="Content-Type" content="text/html;
                  charset=UTF-8">
                Hi a,<br>
                <br>
                When using rsync, the destination and originating path
                needs to exist.<br>
                <br>
                rsync -Prvvac /path/to/old/archive /path/to/new/archive<br>
                <br>
                If the destination path doesn't exist, you will need to
                mkdir and mount accordingly.<br>
                <br>
                However, your original question is how to change
                folder/file permissions.<br>
                <br>
                This is how to change which user and group can
                access/edit a file.<br>
                sudo chown username:usergroup /path/to/file.txt<br>
                <br>
                This is how to change which user and group can
                access/edit a folder and everything in that folder:<br>
                sudo chown -R username:usergroup /path/to/folder<br>
                <br>
                This is how I would do it on my current system (to
                change user access to a folder):<br>
                sudo chown jr:jr /path/to/file<br>
                <br>
                I know to use jr:jr because I did this:<br>
                <br>
                ls -l .bash_history <br>
                -rw------- 1 jr jr 69881 May 24 13:34 .bash_history<br>
                <br>
                To do this you will need to be in your user folder (or
                ls a file you know that you own).<br>
                pwd<br>
                /home/jr<br>
                <br>
                I didn't cover chmod, so let us know if you still can't
                access the folder you're trying to access.<br>
                <br>
                Regards,<br>
                <br>
                Jared<br>
                <br>
                <div class="moz-cite-prefix">On 5/27/19 9:25 AM, a
                  wrote:<br>
                </div>
                <blockquote type="cite"
                  cite="mid:9523adf1-6c46-86d6-428b-0c190a44ab7d@kaluta.us">Hi
                  <br>
                  <br>
                  Can anyone explain, attachment .png of uuid info.
                  error seems to be between  /media/a/uuid and a
                  "switch"  occurs /media/uuid, what the hey/ <br>
                  <br>
                  a@alap:~$ rsync -av --delete --exclude=".*/" /home/a/
                  /media/your_uuid/backup <br>
                  sending incremental file list <br>
                  rsync: mkdir "/media/your_uuid/backup" failed: No such
                  file or directory (2) <br>
                  rsync error: error in file IO (code 11) at main.c(675)
                  [Receiver=3.1.2] <br>
                  a@alap:~$ rsync -av --delete --exclude=".*/" /home/a/
                  /media/6fbdc743-fc0f-46e4-aea3-8160914c34ec/backup <br>
                  sending incremental file list <br>
                  rsync: mkdir
                  "/media/6fbdc743-fc0f-46e4-aea3-8160914c34ec/backup"
                  failed: No such file or directory (2) <br>
                  rsync error: error in file IO (code 11) at main.c(675)
                  [Receiver=3.1.2] <br>
                  a@alap:~$ cd
                  /media/0435f0ab-9dfd-4d9d-ae8b-53101d419ac8 <br>
                  bash: cd: /media/0435f0ab-9dfd-4d9d-ae8b-53101d419ac8:
                  No such file or directory <br>
                  a@alap:~$ mkdir backup <br>
                  a@alap:~$ cd
                  /media/a/6fbdc743-fc0f-46e4-aea3-8160914c34ec <br>
                  a@alap:/media/a/6fbdc743-fc0f-46e4-aea3-8160914c34ec$
                  mkdir backup <br>
                  mkdir: cannot create directory ‘backup’: File exists <br>
                  a@alap:/media/a/6fbdc743-fc0f-46e4-aea3-8160914c34ec$
                  <br>
                  a@alap:/media/a/6fbdc743-fc0f-46e4-aea3-8160914c34ec$
                  cd <br>
                  a@alap:~$  rsync -av --delete --exclude=".*/" /home/a/
                  /media/6fbdc743-fc0f-46e4-aea3-8160914c34ec/backup <br>
                  sending incremental file list <br>
                  rsync: mkdir
                  "/media/6fbdc743-fc0f-46e4-aea3-8160914c34ec/backup"
                  failed: No such file or directory (2) <br>
                  rsync error: error in file IO (code 11) at main.c(675)
                  [Receiver=3.1.2] <br>
                  a@alap:~$ <br>
                  <br>
                  <br>
                  <fieldset class="mimeAttachmentHeader"></fieldset>
                  <pre class="moz-quote-pre" wrap="">_______________________________________________
nmglug mailing list
<a class="moz-txt-link-abbreviated" href="mailto:nmglug@lists.nmglug.org" moz-do-not-send="true">nmglug@lists.nmglug.org</a>
<a class="moz-txt-link-freetext" href="http://lists.nmglug.org/listinfo.cgi/nmglug-nmglug.org" moz-do-not-send="true">http://lists.nmglug.org/listinfo.cgi/nmglug-nmglug.org</a>
</pre>
                </blockquote>
                <br>
              </blockquote>
            </blockquote>
            <br>
          </blockquote>
        </blockquote>
        <br>
      </blockquote>
    </blockquote>
    <br>
  </body>
</html>