<div dir="ltr">2015-10-29 9:15 GMT+01:00 Tony Baechler <span dir="ltr"><<a href="mailto:bats@batsupport.com" target="_blank">bats@batsupport.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 10/28/2015 12:55 PM, Johnny Rosenberg wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Copying the files from the USB drive from an Ubuntu 14.04 Live USB stick<br>
worked fine. The only problem was that I needed to be root to do it, which<br>
caused all the files to be owned by root, but I fixed that with a simple<br> find -exec chown command in the Ubuntu 12.04 terminal. </blockquote></span></blockquote><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
</blockquote>
<br>
<br></span>
Not that it matters now, but if you use rsync with the -a switch, it preserves file permissions and times.</blockquote><div><br></div><div>Yes, I know. I just started Nautilus as root and used the mouse. I guess didn't think that through before going to action. The -a flag works with the cp command too, so I guess rsync isn't even necessary in simple cases as this one.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">  I use it all the time for copying files, both locally and from the network.</blockquote><div><br></div><div>I use it all the time too, in my own daily backup script, which I used to get the files to the USB drive in the first place. I didn't include recover in my backup script though, since that operation is so rare. So far it has been years between each time I would need to recover anything.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">  Assuming your USB drive is mounted under /media/1 and the drive you're copying to is under /media/2, a command like this should work:<br>
<br>
rsync -av /media/1 /media/2<br>
<br>
The -v switch turns on verbose output and isn't necessary, but I like to know the current file being copied and the speed.  The -a switch stands for archive and turns on the permissions preservation.</blockquote><div><br></div><div>Thanks for your input!</div><div><br></div><div><br></div><div>Johnny Rosenberg</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5"><br>
<br>
-- <br>
ubuntu-users mailing list<br>
<a href="mailto:ubuntu-users@lists.ubuntu.com" target="_blank">ubuntu-users@lists.ubuntu.com</a><br>
Modify settings or unsubscribe at: <a href="https://lists.ubuntu.com/mailman/listinfo/ubuntu-users" rel="noreferrer" target="_blank">https://lists.ubuntu.com/mailman/listinfo/ubuntu-users</a><br>
</div></div></blockquote><br></div>