I would need an actual copy as I need to make also some modifications
to the resulting org files, so I can then run same data mining algortihms
rather than the html files. I would still need to have the htm files
working as are from a browser.
> Sent: Thursday, April 01, 2021 at 6:08 AM
> From: "Marco Ippolito" <maroloccio@gmail.com>
> To: michael-franzese@gmx.com
> Cc: "Lawrence Velázquez" <vq@larryv.me>, help-bash@gnu.org
> Subject: Re: Making copies of files
>
> > Would the following suffice?
> >
> > #!/bin/bash
> >
> > find . -type f -name '*.htm' -print0 | while IFS= read -r -d '' f; do
> > cp -- "$f" "${f%.*}.org"
> > done
>
> Do you need an actual copy or would a hard link do it, as you are doing this
> in
> the same directory and thus on the same filesystem?
>