Posted on 08-30-2011 07:44 AM
Hi,
I hope this will be useful to someone, here it goes…
I am just in process of auditing our 3rd party plug-ins for Adobe After Effects CS3 and CS4. I have prepared an Extension Attribute to print out only 3rd party plugin files/folders and exclude standard plugins.
*FOR CS3
#!/bin/sh
echo "<result>ls /Library/Application Support/Adobe/Common/Plug-ins/CS3/MediaCore| grep -v ".DS_Store|Effects|Extensions|Format|Icon|Keyframe" | sed -E
</result>"
echo "<result>ls /Applications/Adobe After Effects CS3/Plug-ins | grep -v ".DS_Store|Effects|Extensions|Format|Icon|Keyframe" | sed -E
</result>"
*FOR CS4
#!/bin/sh
echo "<result>ls /Library/Application Support/Adobe/Common/Plug-ins/CS4/MediaCore | grep -v ".DS_Store|Effects|Extensions|Format|Icon|Keyframe" | sed -E
</result>"
echo "<result>ls /Applications/Adobe After Effects CS4/Plug-ins | grep -v ".DS_Store|Effects|Extensions|Format|Icon|Keyframe" | sed -E
</result>"
Regards
Cem
Message: 13
Date: Thu, 25 Aug 2011 18:18:30 -0500
Posted on 08-30-2011 08:21 AM
Oops! this is the correct one…
*FOR CS3
#!/bin/sh
echo "<result>ls /Library/Application Support/Adobe/Common/Plug-ins/CS3/MediaCore | grep -v ".DS_Store|Effects|Extensions|Format|Icon|Keyframe" && ls /Applications/Adobe After Effects CS3/Plug-ins | grep -v ".DS_Store|Effects|Extensions|Format|Icon|Keyframe" | sed -E
</result>"
*FOR CS4
#!/bin/sh
echo "<result>ls /Library/Application Support/Adobe/Common/Plug-ins/CS4/MediaCore | grep -v ".DS_Store|Effects|Extensions|Format|Icon|Keyframe" && ls /Applications/Adobe After Effects CS4/Plug-ins | grep -v ".DS_Store|Effects|Extensions|Format|Icon|Keyframe" | sed -E
</result>"
Posted on 08-30-2011 07:32 PM
My apologies, it's been busy and I've been on the road so I'm just getting around to this. I figured why not post it to the list. I removed the script author's name due to privacy concerns.
Basically the script guru was asked to create a script that reports the presence of 3rd party Plug-ins and XTensions for *any* version of the following applications:
Adobe InDesign Adobe Photoshop Adobe Illustrator QuarkXPress
The end of the script shows the output is to a text file with ComputerName appended to the name.
echo "$line" >> /Users/Shared/plugin-report-$(scutil --get ComputerName).txt
Extension Attribute and Saved Search...now the refresh analyst can print out the list of computers that have the above report text file. Since the analyst has to "touch" each of the Macs, they can pull the file onto a thumb drive and move on to the next computer. Since the files are named, easy to match/merge with the standard Application Report our group provides them.
PS, the scripting resource was awesome. She turned around the initial script in short time and it worked fine. A few tweak requests and we were ready to roll. Turns out she is a whiz at both UNIX and Windows scripting.
Thanks,
Don
+++++++++ Start ++++++++++++
#!/bin/sh
if [ -s /Users/Shared/plugin-report-$(scutil --get ComputerName).txt ]; then rm /Users/Shared/plugin-report-$(scutil --get ComputerName).txt fi
# $application Variable holds the path of the directory to be searched
pathFile=/Users/Shared/path.txt
targetFile=/Users/Shared/temp.txt
#for application in "/Applications/Adobe Illustrator */Plug-ins.localized" "/Applications/Adobe InDesign */Plug-Ins" "/Applications/Adobe Photoshop */Plug-Ins" "/Applications/QuarkXPress */XTensions" "/Applications/QuarkXPress */XTensions Disabled"
rm $pathFile 2>/dev/null
ls -d /Applications/Adobe Illustrator */Plug-ins.localized >> $pathFile 2>/dev/null
while read app
do
#echo $app
ls "$app" >> $targetFile
flag=0
while read line
do
if [ "$line" = ".localized" ] || [ "$line" = ".DS_Store" ] || [ "$line" = "Adobe Illustrator Startup_CMYK.ai" ] || [ "$line" = "Illustrator Formats.localized" ] || [ "$line" = "Adobe Illustrator Startup_RGB.ai" ] || [ "$line" = "PDFMessage.ai" ] || [ "$line" = "Adobe SVG Filters.svg" ] || [ "$line" = "Photoshop Effects.localized" ] || [ "$line" = "Bevels.ai" ] || [ "$line" = "Photoshop Filters.localized" ] || [ "$line" = "Extensions.localized" ] || [ "$line" = "Photoshop Formats.localized" ] || [ "$line" = "Text Filters.localized" ] || [[ "$line" == Icon* ]] || [ "$line" = "Tools.localized" ] || [ "$line" = "Illustrator Filters.localized" ] || [ "$line" = "PlugPlug.bundle" ] || [ "$line" = "Illustrator UI.localized" ] || [ "$line" = "Booklet" ] || [ "$line" = "Icon?" ] || [ "$line" = "PMPack" ] || [ "$line" = "Text" ] || [[ "$line" == Icon* ]] || [ "$line" = "XMedia" ] || [ "$line" = "Data Services" ] || [ "$line" = "InCopyWorkflow" ] || [ "$line" = "Page Item" ] || [ "$line" = "UI" ] || [ "$line" = "Dictionaries" ]|| [ "$line" = "Interactive" ] || [ "$line" = "Prepress" ]|| [ "$line" = "Utility" ]|| [ "$line" = "Filters" ]|| [ "$line" = "Layout" ]|| [ "$line" = "Script" ]|| [ "$line" = "Workflow" ]|| [ "$line" = "Graphics" ]|| [ "$line" = "Online" ]|| [ "$line" = "Tables" ]|| [ "$line" = "Workgroup" ] || [ "$line" = "Sandbox" ] || [ "$line" = ".DS_Store" ] || [ "$line" = "Automate" ] || [ "$line" = "Effects" ] || [ "$line" = "Image Stacks" ] || [ "$line" = "Measurements" ] || [ "$line" = "Extensions" ] || [ "$line" = "Import:Export" ] || [ "$line" = "Digimarc" ] || [ "$line" = "File Formats" ] || [ "$line" = "Parser" ] || [ "$line" = "Displacement Maps" ] || [ "$line" = "Filters" ] || [ "$line" = "ADM" ] || [ "$line" = "3D Engines" ] || [ "$line" = "Import-Export" ] || [ "$line" = "Panels" ] || [[ "$line" == Icon* ]] || [ "$line" = "Adobe ImageReady Only" ] || [ "$line" = "Adobe Photoshop Only" ] || [ "$line" = "AltSpellchecker.xnt" ] || [ "$line" = "OPI.xnt" ] || [ "$line" = "CompositionZone.xnt" ] || [ "$line" = "PDF Filter.xnt" ] || [ "$line" = "Jabberwocky.xnt" ] || [ "$line" = "CompressedImage Import.xnt" ] || [ "$line" = "PNG Filter.xnt" ] || [ "$line" = "Custom Bleeds.xnt" ] || [ "$line" = "PSD Import XT.xnt" ] || [ "$line" = "Dejavu.xnt" ] || [ "$line" = "Quark Image Engine.dylib" ] || [ "$line" = "Dictionaries" ] || [ "$line" = "QuarkSWF.CW9.dylib" ] || [ "$line" = "DropShadow.xnt" ] || [ "$line" = "RTF Filter.xnt" ] || [ "$line" = "EditOriginal.xnt" ] || [ "$line" = "Resource" ] || [ "$line" = "ErrorReportingMac.xnt" ] || [ "$line" = "SWF Filter.xnt" ] || [ "$line" = "SWF Toolkit.xnt" ] || [ "$line" = "FullResPreview.xnt" ] || [ "$line" = "Scissors.xnt" ] || [ "$line" = "GlyphPalette.xnt" ] || [ "$line" = "Script.xnt" ] || [ "$line" = "Guide Manager.xnt" ] || [ "$line" = "Shape of Things.xnt" ] || [ "$line" = "HTML Text Import.xnt" ] || [ "$line" = "Super Step and Repeat.xnt" ] || [ "$line" = "HyphDieckmann.xnt" ] || [ "$line" = "Table Import.xnt" ] || [ "$line" = "Hyph_CNS_1.xnt" ] || [ "$line" = "Type Tricks.xnt" ] || [ "$line" = "Hyph_CNS_2.xnt" ] || [ "$line" = "Vista.xnt" ] || [ "$line" = "Hyph_CNS_3.xnt" ] || [ "$line" = "Word 6-2000 Filter.xnt" ] || [[ "$line" == Icon* ]] || [ "$line" = "WordPerfect Filter.xnt" ] || [ "$line" = "ImageMap.xnt" ] || [ "$line" = "XPress Tags Filter.xnt" ] || [ "$line" = "Index.xnt" ] || [ "$line" = "XSLT Export.xnt" ] || [ "$line" = "Jabberwocky.xnt " ] || [ "$line" = "pdfInspektor3" ] || [ "$line" = "Kern-Track Editor.xnt" ] || [ "$line" = "pdfInspektor3.dylib" ] || [ "$line" = "AltSpellchecker.xnt" ] || [ "$line" = "OPI.xnt" ] || [ "$line" = "CompositionZone.xnt" ] || [ "$line" = "PDF Filter.xnt" ] || [ "$line" = "Jabberwocky.xnt" ] || [ "$line" = "CompressedImage Import.xnt" ] || [ "$line" = "PNG Filter.xnt" ] || [ "$line" = "Custom Bleeds.xnt" ] || [ "$line" = "PSD Import XT.xnt" ] || [ "$line" = "Dejavu.xnt" ] || [ "$line" = "Quark Image Engine.dylib" ] || [ "$line" = "Dictionaries" ] || [ "$line" = "QuarkSWF.CW9.dylib" ] || [ "$line" = "DropShadow.xnt" ] || [ "$line" = "RTF Filter.xnt" ] || [ "$line" = "EditOriginal.xnt" ] || [ "$line" = "Resource" ] || [ "$line" = "ErrorReportingMac.xnt" ] || [ "$line" = "SWF Filter.xnt" ] || [ "$line" = "SWF Toolkit.xnt" ] || [ "$line" = "FullResPreview.xnt" ] || [ "$line" = "Scissors.xnt" ] || [ "$line" = "GlyphPalette.xnt" ] || [ "$line" = "Script.xnt" ] || [ "$line" = "Guide Manager.xnt" ] || [ "$line" = "Shape of Things.xnt" ] || [ "$line" = "HTML Text Import.xnt" ] || [ "$line" = "Super Step and Repeat.xnt" ] || [ "$line" = "HyphDieckmann.xnt" ] || [ "$line" = "Table Import.xnt" ] || [ "$line" = "Hyph_CNS_1.xnt" ] || [ "$line" = "Type Tricks.xnt" ] || [ "$line" = "Hyph_CNS_2.xnt" ] || [ "$line" = "Vista.xnt" ] || [ "$line" = "Hyph_CNS_3.xnt" ] || [ "$line" = "Word 6-2000 Filter.xnt" ] || [[ "$line" == Icon* ]] || [ "$line" = "WordPerfect Filter.xnt" ] || [ "$line" = "ImageMap.xnt" ] || [ "$line" = "XPress Tags Filter.xnt" ] || [ "$line" = "Index.xnt" ] || [ "$line" = "XSLT Export.xnt" ] || [ "$line" = "Jabberwocky.xnt " ] || [ "$line" = "pdfInspektor3" ] || [ "$line" = "Kern-Track Editor.xnt" ] || [ "$line" = "pdfInspektor3.dylib" ]
then
echo "$line" >> /Users/Shared/dump.txt
else
if [ $flag = 0 ]; then
echo "
$app:" >> /Users/Shared/plugin-report-$(scutil --get ComputerName).txt
flag=1
fi
echo "$line" >> /Users/Shared/plugin-report-$(scutil --get ComputerName).txt
fi
done <"$targetFile"
rm /Users/Shared/temp.txt
rm /Users/Shared/dump.txt 2>/dev/null
done <"$pathFile"
rm $pathFile
rm $pathFile 2>/dev/null
ls -d /Applications/Adobe InDesign */Plug-Ins >> $pathFile 2>/dev/null
while read app
do
#echo $app
ls "$app" >> $targetFile
flag=0
while read line
do
if [ "$line" = ".localized" ] || [ "$line" = ".DS_Store" ] || [ "$line" = "Adobe Illustrator Startup_CMYK.ai" ] || [ "$line" = "Illustrator Formats.localized" ] || [ "$line" = "Adobe Illustrator Startup_RGB.ai" ] || [ "$line" = "PDFMessage.ai" ] || [ "$line" = "Adobe SVG Filters.svg" ] || [ "$line" = "Photoshop Effects.localized" ] || [ "$line" = "Bevels.ai" ] || [ "$line" = "Photoshop Filters.localized" ] || [ "$line" = "Extensions.localized" ] || [ "$line" = "Photoshop Formats.localized" ] || [ "$line" = "Text Filters.localized" ] || [[ "$line" == Icon* ]] || [ "$line" = "Tools.localized" ] || [ "$line" = "Illustrator Filters.localized" ] || [ "$line" = "PlugPlug.bundle" ] || [ "$line" = "Illustrator UI.localized" ] || [ "$line" = "Booklet" ] || [ "$line" = "Icon?" ] || [ "$line" = "PMPack" ] || [ "$line" = "Text" ] || [[ "$line" == Icon* ]] || [ "$line" = "XMedia" ] || [ "$line" = "Data Services" ] || [ "$line" = "InCopyWorkflow" ] || [ "$line" = "Page Item" ] || [ "$line" = "UI" ] || [ "$line" = "Dictionaries" ]|| [ "$line" = "Interactive" ] || [ "$line" = "Prepress" ]|| [ "$line" = "Utility" ]|| [ "$line" = "Filters" ]|| [ "$line" = "Layout" ]|| [ "$line" = "Script" ]|| [ "$line" = "Workflow" ]|| [ "$line" = "Graphics" ]|| [ "$line" = "Online" ]|| [ "$line" = "Tables" ]|| [ "$line" = "Workgroup" ] || [ "$line" = "Sandbox" ] || [ "$line" = ".DS_Store" ] || [ "$line" = "Automate" ] || [ "$line" = "Effects" ] || [ "$line" = "Image Stacks" ] || [ "$line" = "Measurements" ] || [ "$line" = "Extensions" ] || [ "$line" = "Import:Export" ] || [ "$line" = "Digimarc" ] || [ "$line" = "File Formats" ] || [ "$line" = "Parser" ] || [ "$line" = "Displacement Maps" ] || [ "$line" = "Filters" ] || [ "$line" = "ADM" ] || [ "$line" = "3D Engines" ] || [ "$line" = "Import-Export" ] || [ "$line" = "Panels" ] || [[ "$line" == Icon* ]] || [ "$line" = "Adobe ImageReady Only" ] || [ "$line" = "Adobe Photoshop Only" ] || [ "$line" = "AltSpellchecker.xnt" ] || [ "$line" = "OPI.xnt" ] || [ "$line" = "CompositionZone.xnt" ] || [ "$line" = "PDF Filter.xnt" ] || [ "$line" = "Jabberwocky.xnt" ] || [ "$line" = "CompressedImage Import.xnt" ] || [ "$line" = "PNG Filter.xnt" ] || [ "$line" = "Custom Bleeds.xnt" ] || [ "$line" = "PSD Import XT.xnt" ] || [ "$line" = "Dejavu.xnt" ] || [ "$line" = "Quark Image Engine.dylib" ] || [ "$line" = "Dictionaries" ] || [ "$line" = "QuarkSWF.CW9.dylib" ] || [ "$line" = "DropShadow.xnt" ] || [ "$line" = "RTF Filter.xnt" ] || [ "$line" = "EditOriginal.xnt" ] || [ "$line" = "Resource" ] || [ "$line" = "ErrorReportingMac.xnt" ] || [ "$line" = "SWF Filter.xnt" ] || [ "$line" = "SWF Toolkit.xnt" ] || [ "$line" = "FullResPreview.xnt" ] || [ "$line" = "Scissors.xnt" ] || [ "$line" = "GlyphPalette.xnt" ] || [ "$line" = "Script.xnt" ] || [ "$line" = "Guide Manager.xnt" ] || [ "$line" = "Shape of Things.xnt" ] || [ "$line" = "HTML Text Import.xnt" ] || [ "$line" = "Super Step and Repeat.xnt" ] || [ "$line" = "HyphDieckmann.xnt" ] || [ "$line" = "Table Import.xnt" ] || [ "$line" = "Hyph_CNS_1.xnt" ] || [ "$line" = "Type Tricks.xnt" ] || [ "$line" = "Hyph_CNS_2.xnt" ] || [ "$line" = "Vista.xnt" ] || [ "$line" = "Hyph_CNS_3.xnt" ] || [ "$line" = "Word 6-2000 Filter.xnt" ] || [[ "$line" == Icon* ]] || [ "$line" = "WordPerfect Filter.xnt" ] || [ "$line" = "ImageMap.xnt" ] || [ "$line" = "XPress Tags Filter.xnt" ] || [ "$line" = "Index.xnt" ] || [ "$line" = "XSLT Export.xnt" ] || [ "$line" = "Jabberwocky.xnt " ] || [ "$line" = "pdfInspektor3" ] || [ "$line" = "Kern-Track Editor.xnt" ] || [ "$line" = "pdfInspektor3.dylib" ] || [ "$line" = "AltSpellchecker.xnt" ] || [ "$line" = "OPI.xnt" ] || [ "$line" = "CompositionZone.xnt" ] || [ "$line" = "PDF Filter.xnt" ] || [ "$line" = "Jabberwocky.xnt" ] || [ "$line" = "CompressedImage Import.xnt" ] || [ "$line" = "PNG Filter.xnt" ] || [ "$line" = "Custom Bleeds.xnt" ] || [ "$line" = "PSD Import XT.xnt" ] || [ "$line" = "Dejavu.xnt" ] || [ "$line" = "Quark Image Engine.dylib" ] || [ "$line" = "Dictionaries" ] || [ "$line" = "QuarkSWF.CW9.dylib" ] || [ "$line" = "DropShadow.xnt" ] || [ "$line" = "RTF Filter.xnt" ] || [ "$line" = "EditOriginal.xnt" ] || [ "$line" = "Resource" ] || [ "$line" = "ErrorReportingMac.xnt" ] || [ "$line" = "SWF Filter.xnt" ] || [ "$line" = "SWF Toolkit.xnt" ] || [ "$line" = "FullResPreview.xnt" ] || [ "$line" = "Scissors.xnt" ] || [ "$line" = "GlyphPalette.xnt" ] || [ "$line" = "Script.xnt" ] || [ "$line" = "Guide Manager.xnt" ] || [ "$line" = "Shape of Things.xnt" ] || [ "$line" = "HTML Text Import.xnt" ] || [ "$line" = "Super Step and Repeat.xnt" ] || [ "$line" = "HyphDieckmann.xnt" ] || [ "$line" = "Table Import.xnt" ] || [ "$line" = "Hyph_CNS_1.xnt" ] || [ "$line" = "Type Tricks.xnt" ] || [ "$line" = "Hyph_CNS_2.xnt" ] || [ "$line" = "Vista.xnt" ] || [ "$line" = "Hyph_CNS_3.xnt" ] || [ "$line" = "Word 6-2000 Filter.xnt" ] || [[ "$line" == Icon* ]] || [ "$line" = "WordPerfect Filter.xnt" ] || [ "$line" = "ImageMap.xnt" ] || [ "$line" = "XPress Tags Filter.xnt" ] || [ "$line" = "Index.xnt" ] || [ "$line" = "XSLT Export.xnt" ] || [ "$line" = "Jabberwocky.xnt " ] || [ "$line" = "pdfInspektor3" ] || [ "$line" = "Kern-Track Editor.xnt" ] || [ "$line" = "pdfInspektor3.dylib" ]
then
echo "$line" >> /Users/Shared/dump.txt
else
if [ $flag = 0 ]; then
echo "
$app:" >> /Users/Shared/plugin-report-$(scutil --get ComputerName).txt
flag=1
fi
echo "$line" >> /Users/Shared/plugin-report-$(scutil --get ComputerName).txt
fi
done <"$targetFile"
rm /Users/Shared/temp.txt
rm /Users/Shared/dump.txt 2>/dev/null
done <"$pathFile"
rm $pathFile
rm $pathFile 2>/dev/null
ls -d /Applications/Adobe Photoshop */Plug-Ins >> $pathFile 2>/dev/null
while read app
do
#echo $app
ls "$app" >> $targetFile
flag=0
while read line
do
if [ "$line" = ".localized" ] || [ "$line" = ".DS_Store" ] || [ "$line" = "Adobe Illustrator Startup_CMYK.ai" ] || [ "$line" = "Illustrator Formats.localized" ] || [ "$line" = "Adobe Illustrator Startup_RGB.ai" ] || [ "$line" = "PDFMessage.ai" ] || [ "$line" = "Adobe SVG Filters.svg" ] || [ "$line" = "Photoshop Effects.localized" ] || [ "$line" = "Bevels.ai" ] || [ "$line" = "Photoshop Filters.localized" ] || [ "$line" = "Extensions.localized" ] || [ "$line" = "Photoshop Formats.localized" ] || [ "$line" = "Text Filters.localized" ] || [[ "$line" == Icon* ]] || [ "$line" = "Tools.localized" ] || [ "$line" = "Illustrator Filters.localized" ] || [ "$line" = "PlugPlug.bundle" ] || [ "$line" = "Illustrator UI.localized" ] || [ "$line" = "Booklet" ] || [ "$line" = "Icon?" ] || [ "$line" = "PMPack" ] || [ "$line" = "Text" ] || [[ "$line" == Icon* ]] || [ "$line" = "XMedia" ] || [ "$line" = "Data Services" ] || [ "$line" = "InCopyWorkflow" ] || [ "$line" = "Page Item" ] || [ "$line" = "UI" ] || [ "$line" = "Dictionaries" ]|| [ "$line" = "Interactive" ] || [ "$line" = "Prepress" ]|| [ "$line" = "Utility" ]|| [ "$line" = "Filters" ]|| [ "$line" = "Layout" ]|| [ "$line" = "Script" ]|| [ "$line" = "Workflow" ]|| [ "$line" = "Graphics" ]|| [ "$line" = "Online" ]|| [ "$line" = "Tables" ]|| [ "$line" = "Workgroup" ] || [ "$line" = "Sandbox" ] || [ "$line" = ".DS_Store" ] || [ "$line" = "Automate" ] || [ "$line" = "Effects" ] || [ "$line" = "Image Stacks" ] || [ "$line" = "Measurements" ] || [ "$line" = "Extensions" ] || [ "$line" = "Import:Export" ] || [ "$line" = "Digimarc" ] || [ "$line" = "File Formats" ] || [ "$line" = "Parser" ] || [ "$line" = "Displacement Maps" ] || [ "$line" = "Filters" ] || [ "$line" = "ADM" ] || [ "$line" = "3D Engines" ] || [ "$line" = "Import-Export" ] || [ "$line" = "Panels" ] || [[ "$line" == Icon* ]] || [ "$line" = "Adobe ImageReady Only" ] || [ "$line" = "Adobe Photoshop Only" ] || [ "$line" = "AltSpellchecker.xnt" ] || [ "$line" = "OPI.xnt" ] || [ "$line" = "CompositionZone.xnt" ] || [ "$line" = "PDF Filter.xnt" ] || [ "$line" = "Jabberwocky.xnt" ] || [ "$line" = "CompressedImage Import.xnt" ] || [ "$line" = "PNG Filter.xnt" ] || [ "$line" = "Custom Bleeds.xnt" ] || [ "$line" = "PSD Import XT.xnt" ] || [ "$line" = "Dejavu.xnt" ] || [ "$line" = "Quark Image Engine.dylib" ] || [ "$line" = "Dictionaries" ] || [ "$line" = "QuarkSWF.CW9.dylib" ] || [ "$line" = "DropShadow.xnt" ] || [ "$line" = "RTF Filter.xnt" ] || [ "$line" = "EditOriginal.xnt" ] || [ "$line" = "Resource" ] || [ "$line" = "ErrorReportingMac.xnt" ] || [ "$line" = "SWF Filter.xnt" ] || [ "$line" = "SWF Toolkit.xnt" ] || [ "$line" = "FullResPreview.xnt" ] || [ "$line" = "Scissors.xnt" ] || [ "$line" = "GlyphPalette.xnt" ] || [ "$line" = "Script.xnt" ] || [ "$line" = "Guide Manager.xnt" ] || [ "$line" = "Shape of Things.xnt" ] || [ "$line" = "HTML Text Import.xnt" ] || [ "$line" = "Super Step and Repeat.xnt" ] || [ "$line" = "HyphDieckmann.xnt" ] || [ "$line" = "Table Import.xnt" ] || [ "$line" = "Hyph_CNS_1.xnt" ] || [ "$line" = "Type Tricks.xnt" ] || [ "$line" = "Hyph_CNS_2.xnt" ] || [ "$line" = "Vista.xnt" ] || [ "$line" = "Hyph_CNS_3.xnt" ] || [ "$line" = "Word 6-2000 Filter.xnt" ] || [[ "$line" == Icon* ]] || [ "$line" = "WordPerfect Filter.xnt" ] || [ "$line" = "ImageMap.xnt" ] || [ "$line" = "XPress Tags Filter.xnt" ] || [ "$line" = "Index.xnt" ] || [ "$line" = "XSLT Export.xnt" ] || [ "$line" = "Jabberwocky.xnt " ] || [ "$line" = "pdfInspektor3" ] || [ "$line" = "Kern-Track Editor.xnt" ] || [ "$line" = "pdfInspektor3.dylib" ] || [ "$line" = "AltSpellchecker.xnt" ] || [ "$line" = "OPI.xnt" ] || [ "$line" = "CompositionZone.xnt" ] || [ "$line" = "PDF Filter.xnt" ] || [ "$line" = "Jabberwocky.xnt" ] || [ "$line" = "CompressedImage Import.xnt" ] || [ "$line" = "PNG Filter.xnt" ] || [ "$line" = "Custom Bleeds.xnt" ] || [ "$line" = "PSD Import XT.xnt" ] || [ "$line" = "Dejavu.xnt" ] || [ "$line" = "Quark Image Engine.dylib" ] || [ "$line" = "Dictionaries" ] || [ "$line" = "QuarkSWF.CW9.dylib" ] || [ "$line" = "DropShadow.xnt" ] || [ "$line" = "RTF Filter.xnt" ] || [ "$line" = "EditOriginal.xnt" ] || [ "$line" = "Resource" ] || [ "$line" = "ErrorReportingMac.xnt" ] || [ "$line" = "SWF Filter.xnt" ] || [ "$line" = "SWF Toolkit.xnt" ] || [ "$line" = "FullResPreview.xnt" ] || [ "$line" = "Scissors.xnt" ] || [ "$line" = "GlyphPalette.xnt" ] || [ "$line" = "Script.xnt" ] || [ "$line" = "Guide Manager.xnt" ] || [ "$line" = "Shape of Things.xnt" ] || [ "$line" = "HTML Text Import.xnt" ] || [ "$line" = "Super Step and Repeat.xnt" ] || [ "$line" = "HyphDieckmann.xnt" ] || [ "$line" = "Table Import.xnt" ] || [ "$line" = "Hyph_CNS_1.xnt" ] || [ "$line" = "Type Tricks.xnt" ] || [ "$line" = "Hyph_CNS_2.xnt" ] || [ "$line" = "Vista.xnt" ] || [ "$line" = "Hyph_CNS_3.xnt" ] || [ "$line" = "Word 6-2000 Filter.xnt" ] || [[ "$line" == Icon* ]] || [ "$line" = "WordPerfect Filter.xnt" ] || [ "$line" = "ImageMap.xnt" ] || [ "$line" = "XPress Tags Filter.xnt" ] || [ "$line" = "Index.xnt" ] || [ "$line" = "XSLT Export.xnt" ] || [ "$line" = "Jabberwocky.xnt " ] || [ "$line" = "pdfInspektor3" ] || [ "$line" = "Kern-Track Editor.xnt" ] || [ "$line" = "pdfInspektor3.dylib" ]
then
echo "$line" >> /Users/Shared/dump.txt
else
if [ $flag = 0 ]; then
echo "
$app:" >> /Users/Shared/plugin-report-$(scutil --get ComputerName).txt
flag=1
fi
echo "$line" >> /Users/Shared/plugin-report-$(scutil --get ComputerName).txt
fi
done <"$targetFile"
rm /Users/Shared/temp.txt
rm /Users/Shared/dump.txt 2>/dev/null
done <"$pathFile"
rm $pathFile
rm $pathFile 2>/dev/null
ls -d /Applications/QuarkXPress */XTensions >> $pathFile 2>/dev/null
while read app
do
#echo $app
ls "$app" >> $targetFile
flag=0
while read line
do
if [ "$line" = ".localized" ] || [ "$line" = ".DS_Store" ] || [ "$line" = "Adobe Illustrator Startup_CMYK.ai" ] || [ "$line" = "Illustrator Formats.localized" ] || [ "$line" = "Adobe Illustrator Startup_RGB.ai" ] || [ "$line" = "PDFMessage.ai" ] || [ "$line" = "Adobe SVG Filters.svg" ] || [ "$line" = "Photoshop Effects.localized" ] || [ "$line" = "Bevels.ai" ] || [ "$line" = "Photoshop Filters.localized" ] || [ "$line" = "Extensions.localized" ] || [ "$line" = "Photoshop Formats.localized" ] || [ "$line" = "Text Filters.localized" ] || [[ "$line" == Icon* ]] || [ "$line" = "Tools.localized" ] || [ "$line" = "Illustrator Filters.localized" ] || [ "$line" = "PlugPlug.bundle" ] || [ "$line" = "Illustrator UI.localized" ] || [ "$line" = "Booklet" ] || [ "$line" = "Icon?" ] || [ "$line" = "PMPack" ] || [ "$line" = "Text" ] || [[ "$line" == Icon* ]] || [ "$line" = "XMedia" ] || [ "$line" = "Data Services" ] || [ "$line" = "InCopyWorkflow" ] || [ "$line" = "Page Item" ] || [ "$line" = "UI" ] || [ "$line" = "Dictionaries" ]|| [ "$line" = "Interactive" ] || [ "$line" = "Prepress" ]|| [ "$line" = "Utility" ]|| [ "$line" = "Filters" ]|| [ "$line" = "Layout" ]|| [ "$line" = "Script" ]|| [ "$line" = "Workflow" ]|| [ "$line" = "Graphics" ]|| [ "$line" = "Online" ]|| [ "$line" = "Tables" ]|| [ "$line" = "Workgroup" ] || [ "$line" = "Sandbox" ] || [ "$line" = ".DS_Store" ] || [ "$line" = "Automate" ] || [ "$line" = "Effects" ] || [ "$line" = "Image Stacks" ] || [ "$line" = "Measurements" ] || [ "$line" = "Extensions" ] || [ "$line" = "Import:Export" ] || [ "$line" = "Digimarc" ] || [ "$line" = "File Formats" ] || [ "$line" = "Parser" ] || [ "$line" = "Displacement Maps" ] || [ "$line" = "Filters" ] || [ "$line" = "ADM" ] || [ "$line" = "3D Engines" ] || [ "$line" = "Import-Export" ] || [ "$line" = "Panels" ] || [[ "$line" == Icon* ]] || [ "$line" = "Adobe ImageReady Only" ] || [ "$line" = "Adobe Photoshop Only" ] || [ "$line" = "AltSpellchecker.xnt" ] || [ "$line" = "OPI.xnt" ] || [ "$line" = "CompositionZone.xnt" ] || [ "$line" = "PDF Filter.xnt" ] || [ "$line" = "Jabberwocky.xnt" ] || [ "$line" = "CompressedImage Import.xnt" ] || [ "$line" = "PNG Filter.xnt" ] || [ "$line" = "Custom Bleeds.xnt" ] || [ "$line" = "PSD Import XT.xnt" ] || [ "$line" = "Dejavu.xnt" ] || [ "$line" = "Quark Image Engine.dylib" ] || [ "$line" = "Dictionaries" ] || [ "$line" = "QuarkSWF.CW9.dylib" ] || [ "$line" = "DropShadow.xnt" ] || [ "$line" = "RTF Filter.xnt" ] || [ "$line" = "EditOriginal.xnt" ] || [ "$line" = "Resource" ] || [ "$line" = "ErrorReportingMac.xnt" ] || [ "$line" = "SWF Filter.xnt" ] || [ "$line" = "SWF Toolkit.xnt" ] || [ "$line" = "FullResPreview.xnt" ] || [ "$line" = "Scissors.xnt" ] || [ "$line" = "GlyphPalette.xnt" ] || [ "$line" = "Script.xnt" ] || [ "$line" = "Guide Manager.xnt" ] || [ "$line" = "Shape of Things.xnt" ] || [ "$line" = "HTML Text Import.xnt" ] || [ "$line" = "Super Step and Repeat.xnt" ] || [ "$line" = "HyphDieckmann.xnt" ] || [ "$line" = "Table Import.xnt" ] || [ "$line" = "Hyph_CNS_1.xnt" ] || [ "$line" = "Type Tricks.xnt" ] || [ "$line" = "Hyph_CNS_2.xnt" ] || [ "$line" = "Vista.xnt" ] || [ "$line" = "Hyph_CNS_3.xnt" ] || [ "$line" = "Word 6-2000 Filter.xnt" ] || [[ "$line" == Icon* ]] || [ "$line" = "WordPerfect Filter.xnt" ] || [ "$line" = "ImageMap.xnt" ] || [ "$line" = "XPress Tags Filter.xnt" ] || [ "$line" = "Index.xnt" ] || [ "$line" = "XSLT Export.xnt" ] || [ "$line" = "Jabberwocky.xnt " ] || [ "$line" = "pdfInspektor3" ] || [ "$line" = "Kern-Track Editor.xnt" ] || [ "$line" = "pdfInspektor3.dylib" ] || [ "$line" = "AltSpellchecker.xnt" ] || [ "$line" = "OPI.xnt" ] || [ "$line" = "CompositionZone.xnt" ] || [ "$line" = "PDF Filter.xnt" ] || [ "$line" = "Jabberwocky.xnt" ] || [ "$line" = "CompressedImage Import.xnt" ] || [ "$line" = "PNG Filter.xnt" ] || [ "$line" = "Custom Bleeds.xnt" ] || [ "$line" = "PSD Import XT.xnt" ] || [ "$line" = "Dejavu.xnt" ] || [ "$line" = "Quark Image Engine.dylib" ] || [ "$line" = "Dictionaries" ] || [ "$line" = "QuarkSWF.CW9.dylib" ] || [ "$line" = "DropShadow.xnt" ] || [ "$line" = "RTF Filter.xnt" ] || [ "$line" = "EditOriginal.xnt" ] || [ "$line" = "Resource" ] || [ "$line" = "ErrorReportingMac.xnt" ] || [ "$line" = "SWF Filter.xnt" ] || [ "$line" = "SWF Toolkit.xnt" ] || [ "$line" = "FullResPreview.xnt" ] || [ "$line" = "Scissors.xnt" ] || [ "$line" = "GlyphPalette.xnt" ] || [ "$line" = "Script.xnt" ] || [ "$line" = "Guide Manager.xnt" ] || [ "$line" = "Shape of Things.xnt" ] || [ "$line" = "HTML Text Import.xnt" ] || [ "$line" = "Super Step and Repeat.xnt" ] || [ "$line" = "HyphDieckmann.xnt" ] || [ "$line" = "Table Import.xnt" ] || [ "$line" = "Hyph_CNS_1.xnt" ] || [ "$line" = "Type Tricks.xnt" ] || [ "$line" = "Hyph_CNS_2.xnt" ] || [ "$line" = "Vista.xnt" ] || [ "$line" = "Hyph_CNS_3.xnt" ] || [ "$line" = "Word 6-2000 Filter.xnt" ] || [[ "$line" == Icon* ]] || [ "$line" = "WordPerfect Filter.xnt" ] || [ "$line" = "ImageMap.xnt" ] || [ "$line" = "XPress Tags Filter.xnt" ] || [ "$line" = "Index.xnt" ] || [ "$line" = "XSLT Export.xnt" ] || [ "$line" = "Jabberwocky.xnt " ] || [ "$line" = "pdfInspektor3" ] || [ "$line" = "Kern-Track Editor.xnt" ] || [ "$line" = "pdfInspektor3.dylib" ]
then
echo "$line" >> /Users/Shared/dump.txt
else
if [ $flag = 0 ]; then
echo "
$app:" >> /Users/Shared/plugin-report-$(scutil --get ComputerName).txt
flag=1
fi
echo "$line" >> /Users/Shared/plugin-report-$(scutil --get ComputerName).txt
fi
done <"$targetFile"
rm /Users/Shared/temp.txt
rm /Users/Shared/dump.txt 2>/dev/null
done <"$pathFile"
rm $pathFile
rm $pathFile 2>/dev/null
ls -d /Applications/QuarkXPress */XTensions Disabled >> $pathFile 2>/dev/null
while read app
do
#echo $app
ls "$app" >> $targetFile
flag=0
while read line
do
if [ "$line" = ".localized" ] || [ "$line" = ".DS_Store" ] || [ "$line" = "Adobe Illustrator Startup_CMYK.ai" ] || [ "$line" = "Illustrator Formats.localized" ] || [ "$line" = "Adobe Illustrator Startup_RGB.ai" ] || [ "$line" = "PDFMessage.ai" ] || [ "$line" = "Adobe SVG Filters.svg" ] || [ "$line" = "Photoshop Effects.localized" ] || [ "$line" = "Bevels.ai" ] || [ "$line" = "Photoshop Filters.localized" ] || [ "$line" = "Extensions.localized" ] || [ "$line" = "Photoshop Formats.localized" ] || [ "$line" = "Text Filters.localized" ] || [[ "$line" == Icon* ]] || [ "$line" = "Tools.localized" ] || [ "$line" = "Illustrator Filters.localized" ] || [ "$line" = "PlugPlug.bundle" ] || [ "$line" = "Illustrator UI.localized" ] || [ "$line" = "Booklet" ] || [ "$line" = "Icon?" ] || [ "$line" = "PMPack" ] || [ "$line" = "Text" ] || [[ "$line" == Icon* ]] || [ "$line" = "XMedia" ] || [ "$line" = "Data Services" ] || [ "$line" = "InCopyWorkflow" ] || [ "$line" = "Page Item" ] || [ "$line" = "UI" ] || [ "$line" = "Dictionaries" ]|| [ "$line" = "Interactive" ] || [ "$line" = "Prepress" ]|| [ "$line" = "Utility" ]|| [ "$line" = "Filters" ]|| [ "$line" = "Layout" ]|| [ "$line" = "Script" ]|| [ "$line" = "Workflow" ]|| [ "$line" = "Graphics" ]|| [ "$line" = "Online" ]|| [ "$line" = "Tables" ]|| [ "$line" = "Workgroup" ] || [ "$line" = "Sandbox" ] || [ "$line" = ".DS_Store" ] || [ "$line" = "Automate" ] || [ "$line" = "Effects" ] || [ "$line" = "Image Stacks" ] || [ "$line" = "Measurements" ] || [ "$line" = "Extensions" ] || [ "$line" = "Import:Export" ] || [ "$line" = "Digimarc" ] || [ "$line" = "File Formats" ] || [ "$line" = "Parser" ] || [ "$line" = "Displacement Maps" ] || [ "$line" = "Filters" ] || [ "$line" = "ADM" ] || [ "$line" = "3D Engines" ] || [ "$line" = "Import-Export" ] || [ "$line" = "Panels" ] || [[ "$line" == Icon* ]] || [ "$line" = "Adobe ImageReady Only" ] || [ "$line" = "Adobe Photoshop Only" ] || [ "$line" = "AltSpellchecker.xnt" ] || [ "$line" = "OPI.xnt" ] || [ "$line" = "CompositionZone.xnt" ] || [ "$line" = "PDF Filter.xnt" ] || [ "$line" = "Jabberwocky.xnt" ] || [ "$line" = "CompressedImage Import.xnt" ] || [ "$line" = "PNG Filter.xnt" ] || [ "$line" = "Custom Bleeds.xnt" ] || [ "$line" = "PSD Import XT.xnt" ] || [ "$line" = "Dejavu.xnt" ] || [ "$line" = "Quark Image Engine.dylib" ] || [ "$line" = "Dictionaries" ] || [ "$line" = "QuarkSWF.CW9.dylib" ] || [ "$line" = "DropShadow.xnt" ] || [ "$line" = "RTF Filter.xnt" ] || [ "$line" = "EditOriginal.xnt" ] || [ "$line" = "Resource" ] || [ "$line" = "ErrorReportingMac.xnt" ] || [ "$line" = "SWF Filter.xnt" ] || [ "$line" = "SWF Toolkit.xnt" ] || [ "$line" = "FullResPreview.xnt" ] || [ "$line" = "Scissors.xnt" ] || [ "$line" = "GlyphPalette.xnt" ] || [ "$line" = "Script.xnt" ] || [ "$line" = "Guide Manager.xnt" ] || [ "$line" = "Shape of Things.xnt" ] || [ "$line" = "HTML Text Import.xnt" ] || [ "$line" = "Super Step and Repeat.xnt" ] || [ "$line" = "HyphDieckmann.xnt" ] || [ "$line" = "Table Import.xnt" ] || [ "$line" = "Hyph_CNS_1.xnt" ] || [ "$line" = "Type Tricks.xnt" ] || [ "$line" = "Hyph_CNS_2.xnt" ] || [ "$line" = "Vista.xnt" ] || [ "$line" = "Hyph_CNS_3.xnt" ] || [ "$line" = "Word 6-2000 Filter.xnt" ] || [[ "$line" == Icon* ]] || [ "$line" = "WordPerfect Filter.xnt" ] || [ "$line" = "ImageMap.xnt" ] || [ "$line" = "XPress Tags Filter.xnt" ] || [ "$line" = "Index.xnt" ] || [ "$line" = "XSLT Export.xnt" ] || [ "$line" = "Jabberwocky.xnt " ] || [ "$line" = "pdfInspektor3" ] || [ "$line" = "Kern-Track Editor.xnt" ] || [ "$line" = "pdfInspektor3.dylib" ] || [ "$line" = "AltSpellchecker.xnt" ] || [ "$line" = "OPI.xnt" ] || [ "$line" = "CompositionZone.xnt" ] || [ "$line" = "PDF Filter.xnt" ] || [ "$line" = "Jabberwocky.xnt" ] || [ "$line" = "CompressedImage Import.xnt" ] || [ "$line" = "PNG Filter.xnt" ] || [ "$line" = "Custom Bleeds.xnt" ] || [ "$line" = "PSD Import XT.xnt" ] || [ "$line" = "Dejavu.xnt" ] || [ "$line" = "Quark Image Engine.dylib" ] || [ "$line" = "Dictionaries" ] || [ "$line" = "QuarkSWF.CW9.dylib" ] || [ "$line" = "DropShadow.xnt" ] || [ "$line" = "RTF Filter.xnt" ] || [ "$line" = "EditOriginal.xnt" ] || [ "$line" = "Resource" ] || [ "$line" = "ErrorReportingMac.xnt" ] || [ "$line" = "SWF Filter.xnt" ] || [ "$line" = "SWF Toolkit.xnt" ] || [ "$line" = "FullResPreview.xnt" ] || [ "$line" = "Scissors.xnt" ] || [ "$line" = "GlyphPalette.xnt" ] || [ "$line" = "Script.xnt" ] || [ "$line" = "Guide Manager.xnt" ] || [ "$line" = "Shape of Things.xnt" ] || [ "$line" = "HTML Text Import.xnt" ] || [ "$line" = "Super Step and Repeat.xnt" ] || [ "$line" = "HyphDieckmann.xnt" ] || [ "$line" = "Table Import.xnt" ] || [ "$line" = "Hyph_CNS_1.xnt" ] || [ "$line" = "Type Tricks.xnt" ] || [ "$line" = "Hyph_CNS_2.xnt" ] || [ "$line" = "Vista.xnt" ] || [ "$line" = "Hyph_CNS_3.xnt" ] || [ "$line" = "Word 6-2000 Filter.xnt" ] || [[ "$line" == Icon* ]] || [ "$line" = "WordPerfect Filter.xnt" ] || [ "$line" = "ImageMap.xnt" ] || [ "$line" = "XPress Tags Filter.xnt" ] || [ "$line" = "Index.xnt" ] || [ "$line" = "XSLT Export.xnt" ] || [ "$line" = "Jabberwocky.xnt " ] || [ "$line" = "pdfInspektor3" ] || [ "$line" = "Kern-Track Editor.xnt" ] || [ "$line" = "pdfInspektor3.dylib" ]
then
echo "$line" >> /Users/Shared/dump.txt
else
if [ $flag = 0 ]; then
echo "
$app:" >> /Users/Shared/plugin-report-$(scutil --get ComputerName).txt
flag=1
fi
echo "$line" >> /Users/Shared/plugin-report-$(scutil --get ComputerName).txt
fi
done <"$targetFile"
rm /Users/Shared/temp.txt
rm /Users/Shared/dump.txt 2>/dev/null
done <"$pathFile"
rm $pathFile
+++++++++ END OF SCRIPT ++++++++++++