![]() -n : Dry run the command without transferring files.But, some of those might be contrary to what a user needs, so breaking it out into the specific functionality might be the right answer. Often this works how the user wants and no significant changes are necessary. -o : Preserve user ownership (which is restricted to only superusers when dealing with other user’s files).-r : Recurse through directories (as opposed to only working on files in the current directory).The -a is equivalent to -rlptgoD, which breaks down to: Passing parameters such as -a for “archive” is quite common as it is a “meta-parameter” that automatically invokes a handful of others for you. It’s ordinarily desirable to pass rsync a few parameters to ensure things behave the way a human would expect them to. ![]() In its simplest form, rsync can be told to ensure that a file in one location should be the same in a second location in a filesystem. On the command line, rsync is generally invoked using a handful of parameters to define how it should behave since it’s a flexible tool.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |