copy files and directories-p same as –preserve=mode,ownership,timestamps-R, -r, –recursivecopy directories recursively-v verbose, show what is going on. –reflink[=WHEN]control clone/CoW copies. This just copied 169GB of files in 20 seconds. This only works on supported filesystems, so for example by “#Btrfs, #CIFS, #NFS 4.2, #OCFS2, #overlayfs, and #XFS”. See here. Explainshell tells you this.
To do this you need two empty drives, with the guide below all data on the drive will be lost if it is not empty! 1. Install cryptsetup 2. Create the dm-crypt (Make sure to use the correct device. To show available devices use “lsblk”.) 3. Mount the cryptsetup disk 4. Check if this was […]