Hello.
I tried to copy a directory with scp:
it placed into /home/instruction/instruction...
Then I tried command
and got the desired result.
If I copy with rsync:
and got the desired result too.
Why is this so? Is that correct?
Why ended slash was ignored?
I tried to copy a directory with scp:
Code:
scp -P 64000 -r root@server:/home/instruction/ /home/instruction
Then I tried command
Code:
scp -P 64000 -r root@server:/home/instruction/* /home/instruction
If I copy with rsync:
Code:
rsync -avz --rsh='ssh -p64000' root@server:/home/instruction/ /home/instruction
Why is this so? Is that correct?
Why ended slash was ignored?