hello
I tried sth:


cp -r checkold/*.txt checknew

Before I put some files to
checkold.

It did work.
cp -r checkold/*.txt checknew

Then I created

in a subdirectory
checkold/try/1.txt
checkold/try/2.txt
and so on.

I did again:
cp -r checkold/*.txt checknew
and only the files from checkold
did walk to checknew.
But
the files in the subdir
checkold/try/
were not copied.

What do I do wrong?

Regards

Sophie



Am 13.02.21 um 18:02 schrieb Jeremiah Bess:
No files matching a*.txt were found in your tun directory. a*.txt means
anything matching that starts with an "a" and ends in ".txt". So it would
match a1.txt, apple.txt, abc.txt. Do an 'ls -l tun' and see what files you
have available.

Jeremiah Bess


On Sat, Feb 13, 2021 at 9:55 AM highsky...@yahoo.de <highsky...@yahoo.de>
wrote:

$ ls
altundnurso  backhp  toburnab25319  tun
$ cp -r tun/a*.txt hpback132
cp: Aufruf von stat für 'tun/a*.txt' nicht möglich: Datei oder
Verzeichnis nicht gefunden




Hello
What do I do wrong?
Regards

Sophie




Am 26.01.21 um 15:02 schrieb Jeremiah Bess:
Not quite. Assuming you want to get all the a*.txt files recursively
inside
the daten directory, this is the correct syntax:

cp -r date/a*txt backup

Jeremiah Bess


On Tue, Jan 26, 2021 at 1:32 AM 'highsky...@yahoo.de' via Linux Users
Group
<linuxusersgroup@googlegroups.com> wrote:

cp -r a*.txt daten backup

hello
does this copy all files from hd to a new directory?

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/d3455c3b-0b0d-b1e1-7c27-9c2feebbb37e%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/394717d9-364e-0cb8-c16e-5e680f352b01%40yahoo.de.

Reply via email to