User Tools

Site Tools


linux:copy-preserve-rights

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
linux:copy-preserve-rights [2020/04/13 15:41] – [Synchronize two local folders] odeftalinux:copy-preserve-rights [2023/07/04 19:36] (current) – external edit 127.0.0.1
Line 6: Line 6:
 ====== Copy recursively a folder and keep original rights ====== ====== Copy recursively a folder and keep original rights ======
  
-  cp -a /data1 /bkpdata1+  cp -a /data1/* /bkpdata1
  
 ====== Diff between two folders recursively ====== ====== Diff between two folders recursively ======
linux/copy-preserve-rights.1586781692.txt.gz · Last modified: 2023/07/04 19:36 (external edit)