Date: Wed, 27 Apr 2022 18:14:27 +0200 From: Andrea Venturoli <ml@netfence.it> To: Chris <portmaster@bsdforge.com> Cc: freebsd-ports@freebsd.org Subject: Re: Fill a disk with more recent files Message-ID: <a3b516c4-25e8-2566-5d76-200eee611732@netfence.it> In-Reply-To: <1d7793b482771088ebcebaeababe8814@bsdforge.com> References: <b92d3ed6-0ea4-ff05-b53c-4427c6234eeb@netfence.it> <1d7793b482771088ebcebaeababe8814@bsdforge.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 4/27/22 17:11, Chris wrote: > On 2022-04-27 00:47, Andrea Venturoli wrote: >> Hello. >> >> Suppose I have a large storage of files and a smaller disk (backup). >> I need to copy as much as I can from source to target and I want the >> most recent files. >> >> Before I start scripting and reinvent the wheel, is there some tool >> already? > If I'm understanding your question and intent correctly. rsync(1) comes > to mind. Hello. Tomasz also suggested rsync, but we both fail to see how to get what I want through it. It does copy as much as it cans, but I'll end up with a random set of files, not the most recent ones. If you can show with what options this can be achieved... bye & Thanks av.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?a3b516c4-25e8-2566-5d76-200eee611732>