On 29 Jan 2013, at 18:01 , LuKreme <krem...@kreme.com> wrote:

> 
> On 29 Jan 2013, at 17:12 , Kevin Korb <k...@sanitarium.net> wrote:
> 
>> find /server -type f -mtime +30 -exec mv -v {} /archive/ \;
>> cd /archive ; find . -type f -exec rm -v /server/{} \;
> 
> Ah… OK, that is an interesting idea I've never considered, and no rsync 
> involved.
> 
> Thanks!

Ah, this does not work as files that are on /server/some/path they end up at 
/archive/ and not /archive/some/path.

I need to preserver the directory structure on server and duplicate it to 
target.

-- 
Today the road all runners come/Shoulder high we bring you home.  And
set you at your threshold down/Townsman of a stiller town.

-- 
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