Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

(to do) - Script to generate sample files for each folder.

Remove Duplicates

...

Remove Delta

Returns only Music Match files from the iTunes-dump that do not exist in iTunes-iCloud-Purchase (I actually want to return files to delete, but not ifgure out yet),

Code Block
languagebash
 diff iTunes-Dump-file-list.sorted.txt iTunes-iCloud-Purchased.sorted.txt | grep "<" | sed 's/< /rm "/' | sed -e 's/$/"/'

Generate test script using ls to verify that these same files do not exist in iTunes-iCloud-Purchase,

Code Block
languagebash
diff iTunes-Dump-file-list.sorted.txt iTunes-iCloud-Purchased.sorted.txt | grep "<" | sed 's/< /ls "/' | sed -e 's/$/" >> ls-test-result.txt/' > ls-test.txt