![]() ![]() This would create a hierarchy that looks like:Īlways double-check your arguments before executing an rsync command. The alternative, without the trailing slash, would place dir1, including the directory, within dir2. This is necessary to mean “the contents of dir1”. You may have noticed that there is a trailing slash ( /) at the end of the first argument in the above commands: It is more commonly used than -r and is usually what you want to use. It stands for “archive” and syncs recursively and preserves symbolic links, special and device files, modification times, group, owner, and permissions. The -r option means recursive, which is necessary for directory syncing. To sync the contents of dir1 to dir2 on the same system, type: We also have an empty directory called dir2. Outputfile1 file18 file27 file36 file45 file54 file63 file72 file81 file90įile10 file19 file28 file37 file46 file55 file64 file73 file82 file91įile100 file2 file29 file38 file47 file56 file65 file74 file83 file92įile11 file20 file3 file39 file48 file57 file66 file75 file84 file93įile12 file21 file30 file4 file49 file58 file67 file76 file85 file94įile13 file22 file31 file40 file5 file59 file68 file77 file86 file95įile14 file23 file32 file41 file50 file6 file69 file78 file87 file96įile15 file24 file33 file42 file51 file60 file7 file79 file88 file97įile16 file25 file34 file43 file52 file61 file70 file8 file89 file98įile17 file26 file35 file44 file53 file62 file71 file80 file9 file99 ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |