Do you have a sample set with which to try this?
Do you know what the expected results are from the operation you are
wanting to perform?
Do the commands below generate those expected results?

If so, can you share those with the group?

For example ...

$ touch foo.html foo.css foo.txt a-foo.txt

$ tree
.
├── a-foo.txt
├── foo.css
├── foo.html
└── foo.txt

0 directories, 4 files

$ find ./ -type f ! \( -iname "*.html" -o -iname "*.css" \) -print -delete
.//foo.txt
.//a-foo.txt

$ find ./ -type f ! -iname "*.txt" -print -delete
.//foo.html
.//foo.css

$ tree
.

0 directories, 0 files

Regards,
- Robert

On Fri, Mar 26, 2021 at 10:35 AM 'highsky...@yahoo.de' via Linux Users
Group <linuxusersgroup@googlegroups.com> wrote:
>
> hello again
>
> is this an idea to copy  a*.txt?
>
>
> find ./ -type f ! \( -iname "*.html" -o -iname "*.css" \) -delete
>
> find ./ -type f ! -iname "*.txt" -delete
>
>
> regards Sophie
>
>
>
>
>
>
> Am 24.02.21 um 17:45 schrieb highsky...@yahoo.de:
> > good afternoon
> >
> > Sorry for asking again
> >
> > can sth like this help?
> >
> > |find . -name '*.txt' -exec rsync -R {} ~/alltxt/ \; Regards Sophie |
> >
> >
>
> --
> --
> You received this message because you are subscribed to the Linux Users Group.
> To post a message, send email to linuxusersgroup@googlegroups.com
> To unsubscribe, send email to linuxusersgroup+unsubscr...@googlegroups.com
> For more options, visit our group at 
> http://groups.google.com/group/linuxusersgroup
> References can be found at: http://goo.gl/anqri
> Please remember to abide by our list rules (http://tinyurl.com/LUG-Rules)
> ---
> You received this message because you are subscribed to the Google Groups 
> "Linux Users Group" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to linuxusersgroup+unsubscr...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/linuxusersgroup/e2e5ce0b-be69-dea2-0a1e-4afd9cf95e2b%40yahoo.de.

-- 
-- 
You received this message because you are subscribed to the Linux Users Group.
To post a message, send email to linuxusersgroup@googlegroups.com
To unsubscribe, send email to linuxusersgroup+unsubscr...@googlegroups.com
For more options, visit our group at 
http://groups.google.com/group/linuxusersgroup
References can be found at: http://goo.gl/anqri
Please remember to abide by our list rules (http://tinyurl.com/LUG-Rules)
--- 
You received this message because you are subscribed to the Google Groups 
"Linux Users Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to linuxusersgroup+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/linuxusersgroup/CAKFjdm4%3DsGTAmFrpNmPcYY3sugALjS62rYQzQZ_1OU85rD5KMw%40mail.gmail.com.

Reply via email to