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

Next revision
Previous revision
Next revisionBoth sides next revision
linux:copy-preserve-rights [2018/03/08 12:51] – created odeftalinux:copy-preserve-rights [2020/04/13 15:41] odefta
Line 1: Line 1:
-====== Copy recursively a folder and keep original rigts ======+====== Synchronize two local folders ======
  
-  df -a /data1 /bkpdata1+rsync -avz --delete /media/usb/* /home/partimag 
 + 
 +====== Copy recursively folder and keep original rights ====== 
 + 
 +  cp -a /data1 /bkpdata1 
 + 
 +====== Diff between two folders recursively ====== 
 + 
 +  diff -rq /data1 /bkpdata1
  
linux/copy-preserve-rights.txt · Last modified: 2023/07/04 19:36 by 127.0.0.1