Skip to content

Instantly share code, notes, and snippets.

@sahara-ooga
Last active March 6, 2024 07:49
Show Gist options
  • Save sahara-ooga/88d79bcd536488c91deeb9d8e47b0c19 to your computer and use it in GitHub Desktop.
Save sahara-ooga/88d79bcd536488c91deeb9d8e47b0c19 to your computer and use it in GitHub Desktop.
scripts for Privacy Manifest files
grep -Rn \
--exclude='*.sh' \
-e 'activeInputModes'
grep -Rn \
--exclude='*.sh' \
-e 'volumeAvailableCapacityKey' \
-e 'volumeAvailableCapacityForImportantUsageKey' \
-e 'volumeAvailableCapacityForOpportunisticUsageKey' \
-e 'volumeTotalCapacityKey' \
-e 'systemFreeSize' \
-e 'systemSize' \
-e 'statfs' \
-e 'statvfs' \
-e 'fstatfs' \
-e 'fstatvfs' \
-e 'getattrlist' \
-e 'fgetattrlist' \
-e 'getattrlistat'
grep -Rn \
--exclude='*.sh' \
-e 'creationDate' \
-e 'modificationDate' \
-e 'fileModificationDate' \
-e 'contentModificationDateKey' \
-e 'creationDateKey' \
-e 'getattrlist' \
-e 'getattrlistbulk' \
-e 'fgetattrlist' \
-e 'stat' \
-e 'fstat' \
-e 'fstatat' \
-e 'lstat' \
-e 'getattrlistat' \
| grep -v 'static' \
| grep -v 'status' \
| grep -v 'state'
grep -Rn \
--exclude='*.sh' \
-e 'systemUptime' \
-e 'mach_absolute_time'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment