Thank You again.
I did print it out and I study it.
Regards
Sophie
Am 24.02.21 um 16:38 schrieb Jeremiah Bess:
> Note this command will copy all subdirectories and their contents. If you
> are just wanting to collect all .txt files from multiple subdirectories and
> put them in one directory, you'd be better off with my find command I
> posted earlier.
>
> Jeremiah Bess
>
>
> On Wed, Feb 24, 2021 at 8:22 AM Jeremiah Bess <
jeremi...@gmail.com>
> wrote:
>
>> You can't use this format: checkold/*.txt. It will only work for .txt
>> files directly under checkold, not any of the subdirectories.
>>
>> Just like the find command I posted last time, rsync has an option to
>> filter files. Try this:
>>
>> rsync -r --include=*.txt checkold checknew
>>
>> Jeremiah Bess