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 <jeremiah.b...@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
On Wed, Feb 24, 2021 at 8:09 AM highsky...@yahoo.de <highsky...@yahoo.de>
wrote:
same problem:
hello
I tried sth:
rsync -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:
rrync -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
rsync -a had the same problem.
--
--
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/6cf749b3-11f6-29f3-28ad-0431fcc4ed5d%40yahoo.de.