Search exams, classes and guides
Search...
English
Sign in
Sign in
Home
Practice
Discover
Performance
More
CompTIA Linux+ XK0-006
System Management
Card 116 of 206
116 / 206
When rsync is run with a source path that ends in a trailing slash, such as rsync -a /data/ /backup/, it copies the dat…
Front
When rsync is run with a source path that ends in a trailing slash, such as rsync -a /data/ /backup/, it copies the data directory itself into /backup, creating /backup/data.
Back
A trailing slash on the source makes rsync copy the contents of the directory, so files land directly in /backup. Omitting the slash (/data) is what creates /backup/data. The -a archive option does not change this behavior.
Show the back
Press the card to see the back
Study this deck