<div dir="auto"><div><br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">ср, 23 окт. 2024 г., 18:38 Terje J. Hanssen via Cin <<a href="mailto:cin@lists.cinelerra-gg.org" rel="noreferrer noreferrer" target="_blank">cin@lists.cinelerra-gg.org</a>>:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><u></u>
<div>
From my past Unix & alike experience with Cromix/SVR5/BSD and
SunOS/Solaris, I seem to remember faintly that there was a
difference between "cp -r" and "cp -R".<br>
Both copied recursively directories and files, while -R (possibly)
also followed symlinks and copied their targets.<br>
<br>
On SUSE Linux (which first version 1993 is told to orginate from the
most Unix like Slackware), the man pages for cp just say<br>
<blockquote>-R, -r, --recursive<br>
copy directories recursively<br>
</blockquote>
A previous thread on Stack Exchange, "Difference between cp -r and
cp -R (copy command)", mentions additionally POSIX defined and
implementation dependency.<br>
<a href="https://unix.stackexchange.com/questions/18712/difference-between-cp-r-and-cp-r-copy-command" rel="noreferrer noreferrer noreferrer" target="_blank">https://unix.stackexchange.com/questions/18712/difference-between-cp-r-and-cp-r-copy-command</a><br>
<br>
So I am used with "cp -R" for complete directory backup purpose;
else I use more effective "rsync" incremental backups to portable
(USB) disks.<br>
. <br>
What do you use and think here about this?<br></div></blockquote></div></div><div dir="auto"><br></div><div dir="auto">cp -ar here ....</div><div dir="auto"><br></div><div dir="auto">also scp -a / scp -r between machines</div><div dir="auto"><br></div><div dir="auto">rsync -avz /data/data/com.termux/files/home/storage/downloads/ guest@192.168.1.100:/home/guest/K38_sdcard1/Documents/<br></div><div dir="auto"><br></div><div dir="auto">as one backup string I put in file for periodical manual execution.</div><div dir="auto"><br></div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>
<blockquote><br>
</blockquote>
<br>
</div>
-- <br>
Cin mailing list<br>
<a href="mailto:Cin@lists.cinelerra-gg.org" rel="noreferrer noreferrer noreferrer" target="_blank">Cin@lists.cinelerra-gg.org</a><br>
<a href="https://lists.cinelerra-gg.org/mailman/listinfo/cin" rel="noreferrer noreferrer noreferrer noreferrer" target="_blank">https://lists.cinelerra-gg.org/mailman/listinfo/cin</a><br>
</blockquote></div></div></div>