It’s all of these:
-r
,--recursive
recurse into directories
-l
,--links
copy symlinks as symlinks
-p
,--perms
preserve permissions
-t
,--times
preserve modification times
-g
,--group
preserve group
-o
,--owner
preserve owner (super-user only)
-D
same as--devices --specials
--devices
preserve device files (super-user only)
--specials
preserve special files
It excludes:
-H
,--hard-links
preserve hard links
-A
,--acls
preserve ACLs (implies-p
)
-X
,--xattrs
preserve extended attributes
It’s perfect for backups. My “default” set of switches is -avzP
– archive mode, be verbose, use compression, preserve partial files, display progress.
Note: Invariably when the descriptions say “preserve”, it means make the destination be like the source.
Related Posts:
- Rsync difference between –checksum and –ignore-times options
- Rsync creates a directory with the same name inside of destination directory
- How to keep rsync from chown’ing transferred files?
- Why is rsync skipping the main directory?
- Logitech/LGHUB Lua – Loop with break
- What exactly is a VBO in OpenGL?
- No results found on kibana -> discover
- Official definition of CSCI (Computer Software Configuration Item)
- What does %>% mean in R [duplicate]
- How do I copy folder with files to another folder in Unix/Linux? [closed]
- How do I fix a “Expected Primary-expression before ‘)’ token” error?
- ‘git’ is not recognized as an internal or external command
- What are the rules of the std::cin object in C++?
- ssh remote host identification has changed
- How to link to part of the same document in Markdown?
- What is {{.}} in mustache?
- How to split column into two in R using separate
- Python Key Error=0 – Can’t find Dict error in code
- What is a callback URL in relation to an API?
- Where do I find a list of all mat-icons — Angular
- TypeError : ‘method’ object is not subscriptable
- In C++, what is wx.h?
- How to UPSERT (MERGE, INSERT … ON DUPLICATE UPDATE) in PostgreSQL?
- What is the difference between allFile and allMarkdownRemark in gatsby
- DynamoDB : The provided key element does not match the schema
- How do I run a single test using Jest?
- Why I am getting java.lang.AbstractMethodError errors?
- Mercurial: no ~/.hgrc file
- How to clamp an integer to some range?
- What is the iOS 8 System Font?
- PHP &$string – What does this mean?
- difference between ‘-webkit-box-shadow’ & ‘box-shadow’ in css
- Operand type clash: int is incompatible with date + The INSERT statement conflicted with the FOREIGN KEY constraint
- org.hibernate.HibernateException: Access to DialectResolutionInfo cannot be null when ‘hibernate.dialect’ not set
- java.io.IOException: Broken pipe
- java.util.NoSuchElementException: No line found
- Simple prime number generator in Python
- Update Git branches from master
- declaring a priority_queue in c++ with a custom comparator
- How to interactively (visually) resolve conflicts in SourceTree / git
- How to get the selected item from a ComboBox in JavaFX?
- Downcasting in Java
- How do I get monitor resolution in Python?
- SQL array flattening: Why doesn’t CROSS JOIN UNNEST join every nested value with every row?
- Function to calculate R2 (R-squared) in R
- You cannot add or change a record because a related record is required in table ‘table_name’
- Error in glm() in R
- Is there an online application that automatically draws tree structures for phrases/sentences?
- Create new tmux session from inside a tmux session
- classic ASP error ‘80020009’ Exception occurred
- Disable Chrome pinch zoom for use in kiosk
- How to ‘minify’ Javascript code
- How to extract Month from date in R
- Receiving “message”:”CB-ACCESS-KEY header is required” when attempting to connect to coinbase pro api
- Missing files, DirectX SDK (d3dx9.lib, d3dx9.h)
- how to center form using bootstrap 4
- How to implement OnFragmentInteractionListener
- Python High Pass Filter
- How to disable text selection highlighting
- if-not condition fails (jQuery)
- RGBA code for red color
- java array error “array required but int found”
- this: Cannot use this in static context
- Fail to create Android virtual Device, “No system image installed for this Target”
- How do I select text nodes with jQuery?
- Missing sudo password in Ansible
- Warning: session_start(): Cannot send session cookie – headers already sent by (output started at [duplicate]
- In Java, what is a shallow copy?
- conversion to inaccessible base class is not allowed [duplicate]
- A difference between statement and decision coverage
- How to draw a line with matplotlib?
- Android marshmallow : Galaxy Note 4 Screen Overlay Detected
- Get all object attributes in Python?
- How to get the filename without the extension in Java?
- ifference between ibatis and mybatis
- How to install PyQt4 on Windows using pip?
- Example of realpath function in C
- Printing a 2D array in C
- Should 3rd Parties Use $wp_scripts/$wp_styles->add_data?
- wp_localize_script with mce_external_plugins in wordpress
- Send an email that contains a HTML and plain text part
- Filtering the Comment Form Allowed Tags
- Contact Form 7: Redirecting on a condition? [closed]
- Deleting images in array
- How do I display the latest Flickr OAuth embedded image on the frontpage?
- Next Previous siblings child pages
- dbDelta with the character ;
- Posts2Posts plugin and wp user frontend connect programmatically
- Limiting the posts on the homepage to one taxonomy? [closed]
- What A Pupil Learns From Writing An Argumentative Essay
- add_image_size sizes not stored
- Should I use tap or tun for openvpn?
- Smell of rotten eggs in the server room
- Should we host our own nameservers?
- Ansible: Execute task only when a tag is specified
- Is a CNAME to CNAME chain allowed?
- How does a team of Systems Administrators share passwords securely?
- Apache2 config variable is not defined
- How dangerous is a wet server room floor