Re: [gentoo-user] copy file and preserve ownership

2014-09-17 Thread Alan McKinnon
On 18/09/2014 00:54, Joseph wrote: > I like to use meld to copy file but meld does now preserve ownership of > the file that it copy. > rsyc does but how do I use rysnc to copy let say file that are newer > then certain date ? > > I was trying to use: > find /home/myuser/oldir/* -mtime -60 -exec c

[gentoo-user] copy file and preserve ownership

2014-09-17 Thread Joseph
I like to use meld to copy file but meld does now preserve ownership of the file that it copy. rsyc does but how do I use rysnc to copy let say file that are newer then certain date ? I was trying to use: find /home/myuser/oldir/* -mtime -60 -exec cp {} /home/myuser/newdir/ \; but cp does not