How to preserve permissions, ownership, timestamp, archive-mode in rsync using rsync -a
BY sandeep.sasikumar
5 years ago
0 comments comment

rsync is a powerful file and folder synchronisation tool in linux. To read more about rsync please go through this link:

'rsync -a' option preserves the permissions, ownership, timestamp of files and folders that are to be rsynced. To rsync a file or folder from source to destination usually we use the format:

rsync source destination

Inorder to preserve the above mentioned permissions, ownership and timestamp use the command:

 rsync -avz source destination 

This will synchronize the two folders or files and also maintain the same timestamp as that of source. To test whether this has been done right you can check the permission of files in folder in source destination using 'ls -al' command.



on 05th May 2007 / by webmaster
BSNL is one of the leading broadband providers in India. Hardware Linux Networking Ubuntu Leave a reply Your email address will not be published. Required fields are marked * Abhi (not verified) access_time 28 Oct 2020 - 12:03 Hello, I am trying to connect to my D-link DI-614 wireless router to the my BSNL ADSL broadband modem DB108. My PC is currently connected to the modem via an ethernet link. Instead, I established a two-way connection in the following way: 1) Router - modem via ethernet cable. 2) PC - Router via an ethernet cable. However when I do this, my PC is not able to connect to the internet. I am wondering if anyone can help me out with this. Subhadeep (not verified) access_time 28 Oct 2020 - 12:03 Thankx for this i was in a real problem connecting to the net via broadband on BSNL. Thankx again man u r life saver... Pagination Current page 1 Page 2 Page 3 Next page Next › Last page Last » Add new comment
Leave a reply
Your email address will not be published. Required fields are marked *

Filtered HTML

  • Web page addresses and email addresses turn into links automatically.
  • Allowed HTML tags: <a href hreflang> <em> <strong> <cite> <blockquote cite> <code> <ul type> <ol start type='1 A I'> <li> <dl> <dt> <dd> <h2 id='jump-*'> <h3 id> <h4 id> <h5 id> <h6 id>
  • Lines and paragraphs break automatically.
The content of this field is kept private and will not be shown publicly.
CAPTCHA This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.