title: Linux: Need to recursively copy files but skip non-existent file/dir
body: <p>I need to copy files from directories and subdirectories. Copy files to a destination directory and preserve same source file/directory structure. For some source files and directories i get &quot;cannot access&quot; or &quot;No such file or directory&quot; and the cp get stuck. I would like to skip those files/dir with error. Is there a single command i can use for it? Or it is best to write up a bash script?</p>
  <p>Background: I am performing recovery of a dead vm, some files are corrupted, hence having those error message.</p>