Developer Tips And Tricks

From iDroid Project

Revision as of 16:58, 17 July 2022 by Malgaur (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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