rsync with aging
LuKreme
kremels at kreme.com
Wed Jan 30 18:13:36 MST 2013
On 29 Jan 2013, at 18:01 , LuKreme <kremels at kreme.com> wrote:
>
> On 29 Jan 2013, at 17:12 , Kevin Korb <kmk at 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.
More information about the rsync
mailing list