On Sat, Jul 5, 2025 at 8:53 AM Michael via PLUG-discuss <
[email protected]> wrote:

> Simple question: How does one copy all files except those exiting already?
> ---------------------------------------------------


IMO, rsync is better for your objective. It does a file by file comparison
and copies only that have changed or do not exist in the dest dir.


rsync -aP --log-file=/var/tmp/rsync-$$.log <origin dir> <dest dir>

--
Arun Khan
---------------------------------------------------
PLUG-discuss mailing list: [email protected]
To subscribe, unsubscribe, or to change your mail settings:
https://lists.phxlinux.org/mailman/listinfo/plug-discuss

Reply via email to