Posted By

jmiller on 09/08/09


Tagged

diff copy find modified changed


Versions (?)

Copy new/changed files from one folder to another


 / Published in: Bash
 

This is useful for upgrading Drupal modules, etc.

  1. cd /path/to/new/files
  2. find * -type f -exec cp {} /path/to/old/files/{} \;

Report this snippet  

You need to login to post a comment.