Developer Tips And Tricks

From iDroid Project

Jump to: navigation, search
  • Find a list of files that are different between two related repositories.
1. Checkout each repository in different directories.
2. Get a list of file sizes for all files in each working copy.
du -hb working-copy-dir1 > repo1.log
du -hb working-copy-dir2 > repo2.log
3. Diff the two repo logs to get a list of files that are different sizes (files that have changed).
diff repo1.log repo2.log