On Fri, 28 Oct 2022 09:32:00 +0700 Max Nikulin <maniku...@gmail.com> wrote:
> On 28/10/2022 07:07, Mario Marietto wrote: > > > > find . | cpio --create > I rarely use cpio, but recently there was a thread on tar and > unwanted hard links in the created archive. "find" output mixes > regular files and directories. If the archiver recursively walks > through received directories then result may differ from expectations. > > Right. To avoid picking up directories, use find … -type f … That will select only files, not directories, symlinks, devices, etc. -- Does anybody read signatures any more? https://charlescurley.com https://charlescurley.com/blog/