Copy new/changed files from one folder to another


/ Published in: Bash
Save to your folder(s)

This is useful for upgrading Drupal modules, etc.


Copy this code and paste it in your HTML
  1. cd /path/to/new/files
  2. find * -type f -exec cp {} /path/to/old/files/{} \;

Report this snippet


Comments


You need to login to view comments.