Skip to content

Instantly share code, notes, and snippets.

@smartlime
Created December 21, 2014 16:53
Show Gist options
  • Select an option

  • Save smartlime/829d51367c499a061d03 to your computer and use it in GitHub Desktop.

Select an option

Save smartlime/829d51367c499a061d03 to your computer and use it in GitHub Desktop.
List iOS Apps, Cydia Packages and sources, iOS 6-7
#!/bin/sh
echo -n "0"
find /User/Applications/ -name iTunesMetadata.plist -exec plutil -key itemName {} \; >names.txt
#bundleDisplayName
sort names.txt >names.s.txt
echo -n "1"
find /User/Applications/ -name iTunesMetadata.plist -exec plutil -key softwareVersionBundleId {} \; >ids.txt
sort ids.txt >ids.s.txt
echo -n "2"
dpkg --get-selections |sort > packages.s.txt
echo -n "3"
cat /etc/apt/sources.list.d/cydia.list |sort > sources.s.txt
echo -n "4"
echo "."
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment