On 30.01.2013 19:56, LuKreme wrote:
> 
> On 30 Jan 2013, at 18:16 , Kevin Korb <k...@sanitarium.net> wrote:
> 
> > cd /server ; find . -type f -mtime +30 -print | cpio -pvdm /archive/
> 
> I *think* 
> 
> `rysnc -aRP ...` is working for what I need.

Another solution would be a tar-pipe.

cd /server ; tar -c --null -T <(find . -type f -mtime +30 -print0) | (cd 
/archive ; tar xv)

This will work with any filename that a unix-system allows.

And the nice thing about a tar-pipe is that you can redirect it to 
another computer just by changing the last part to:
| ssh <remote> cd /target \; tar xv
The other way around (Pull vs. Push) is possible too. 



-- 

Matthias
-- 
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Reply via email to