public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
Search results ordered by [date|relevance]  view[summary|nested|Atom feed]
thread overview below | download: 
* [gentoo-user] copy file and preserve ownership
@ 2014-09-17 22:54 99% Joseph
  0 siblings, 0 replies; 1+ results
From: Joseph @ 2014-09-17 22:54 UTC (permalink / raw
  To: gentoo-user

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 preserve file ownership either.

I was planning on copying hylafax-files (faxes) from one server to another and most of those files have ownership "uucp:60002 or "uucp:uucp"

-- 
Joseph


^ permalink raw reply	[relevance 99%]

Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2014-09-17 22:54 99% [gentoo-user] copy file and preserve ownership Joseph

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox