Ken Schneider
On Jun 6, 2023, at 3:03 PM, Carlos E. R. <robin.listas@telefonica.net> wrote:
On 2023-06-06 15:03, kschneider bout-tyme.net wrote:
Ken Schneider
On Jun 6, 2023, at 8:52 AM, Stakanov via openSUSE Users <users@lists.opensuse.org> wrote:
So, it is there and it is mounted.
I then did: rsync /home/mercurio -aAXHv /transfernotebook Your syntax is incorrect. It should be: rsync (options) source (with trailing /) destination rsync -aAXHv /home/mercurio/ /transfernotebook
That is so, but then, where have the copied files gone to?
Telcontar:~ # md /home/mercurio Telcontar:~ # touch /home/mercurio/file_one Telcontar:~ # md /transfernotebook Telcontar:~ # md /home/mercurio/dir_one Telcontar:~ # touch /home/mercurio/dir_one/file_two Telcontar:~ # rsync /home/mercurio -aAXHv /transfernotebook
Where is the trailing / in the source tree?
sending incremental file list mercurio/ mercurio/file_one mercurio/dir_one/ mercurio/dir_one/file_two
sent 257 bytes received 62 bytes 638.00 bytes/sec total size is 0 speedup is 0.00 Telcontar:~ # Telcontar:~ # ls /transfernotebook mercurio Telcontar:~ # tree /transfernotebook/ /transfernotebook/ └── mercurio ├── dir_one │ └── file_two └── file_one
2 directories, 2 files Telcontar:~ #
You have to include the trailing / in order to copy the entire directory recursively as I provided in my example. Ken