On Sat, 17 Jul 2010 00:03:28 Roger Oberholtzer wrote:
On Fri, 2010-07-16 at 10:27 -0400, James Knott wrote:
Rodney Baker wrote:
Copy (or, better still, rsync) everything from/usr/share/ to /overflow/share. If you use rsync -Cavvh you will preserve ownership and permissions and get verbose human-readable progress reports as you go.
Doesn't cp -av also do that?
Yes it does. I would use cp. rsync is only needed if doing this between two different machines over a network.
But with rsync if, for some reason, the copy operation is interrupted and you're not sure exactly what has or has not been copied, you simply re-issue the command and it will only copy those files that don't exist or differ between source and destination (for example, a partially copied file). That is the main reason that I chose to use rsync (I also use it scripted for daily backups of my /home partition to a removable drive, but that is another story). -- =================================================== Rodney Baker VK5ZTV rodney.baker@iinet.net.au =================================================== -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org