From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id AFDFA13838B for ; Wed, 17 Sep 2014 22:54:09 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4854DE0AC9; Wed, 17 Sep 2014 22:54:05 +0000 (UTC) Received: from mail145c7.megamailservers.com (mail130c7-2520.megamailservers.com [69.49.98.25]) (using TLSv1.1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 1BFE0E0A0B for ; Wed, 17 Sep 2014 22:54:03 +0000 (UTC) X-POP-User: admin@sys-concept.com X-VIP: 69.49.109.100 Received: from syscon7.localdomain (S01060050da7ae68c.ed.shawcable.net [68.149.90.13]) by mail145c7.megamailservers.com (8.13.6/8.13.1) with ESMTP id s8HMs1OB019477 for ; Wed, 17 Sep 2014 18:54:02 -0400 Received: by syscon7.localdomain (Postfix, from userid 1000) id A81612003B6; Wed, 17 Sep 2014 16:54:07 -0600 (MDT) Date: Wed, 17 Sep 2014 16:54:07 -0600 From: Joseph To: gentoo-user@lists.gentoo.org Subject: [gentoo-user] copy file and preserve ownership Message-ID: <20140917225407.GD24503@syscon7> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1; format=flowed Content-Disposition: inline User-Agent: Mutt/1.5.22 (2013-10-16) X-CTCH-RefID: str=0001.0A020202.541A110A.011D,ss=1,re=0.000,recu=0.000,reip=0.000,cl=1,cld=1,fgs=0 X-CTCH-VOD: Unknown X-CTCH-Spam: Unknown X-CTCH-Score: 0.000 X-CTCH-Rules: X-CTCH-Flags: 0 X-CTCH-ScoreCust: 0.000 X-CSC: 0 X-CHA: v=2.1 cv=LtirlBtc c=1 sm=1 tr=0 a=C3ZDv51cNVt4vJz/79I2xQ==:117 a=C3ZDv51cNVt4vJz/79I2xQ==:17 a=SDcUNfBxAAAA:8 a=BDKbP5mgAAAA:8 a=Unq3plm5DvEA:10 a=M1kyBYkWWGkA:10 a=tqODOFsP46YA:10 a=nDghuxUhq_wA:10 a=8nJEP1OIZ-IA:10 a=pGLkceISAAAA:8 a=hDXgUlYrT04hC9LB9GcA:9 a=wPNLvfGTeEIA:10 X-Origin-Country: CA X-Archives-Salt: 54c29375-18a1-4aa3-9fe5-10e930a7fd5a X-Archives-Hash: b14b80ff817f159564915dc4a8edd860 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