Adding exes.
Adding all the files to run the application.
This commit is contained in:
parent
5f0ac2ee0b
commit
51fbf15428
40
README.md
40
README.md
@ -1,3 +1,43 @@
|
|||||||
# Show Hidden
|
# Show Hidden
|
||||||
|
|
||||||
Shows or hides hidden files in mac finder.
|
Shows or hides hidden files in mac finder.
|
||||||
|
|
||||||
|
It's a very basic shell script.
|
||||||
|
Here's the full thing.
|
||||||
|
|
||||||
|
```bash
|
||||||
|
#show or hide hidden files in mac finder
|
||||||
|
|
||||||
|
show=$(defaults read com.apple.finder AppleShowAllFiles)
|
||||||
|
if [ "$show" == "TRUE" ]
|
||||||
|
then
|
||||||
|
defaults write com.apple.finder AppleShowAllFiles FALSE;killall Finder
|
||||||
|
else [ "$show" == "FALSE" ]
|
||||||
|
defaults write com.apple.finder AppleShowAllFiles TRUE;killall Finder
|
||||||
|
fi
|
||||||
|
|
||||||
|
exit
|
||||||
|
```
|
||||||
|
|
||||||
|
**[Note]:** *Only works on OSX.* It shouldn't damage anything if you run it on another system with bash installed but it won't do anything either.
|
||||||
|
|
||||||
|
## Requierments
|
||||||
|
|
||||||
|
A version of OSX around 10.6
|
||||||
|
OSX 10.6.8 is the only thing this has been tested on. If you have a simi-modern version of OSX/macOS this functionality is now built into Files.
|
||||||
|
|
||||||
|
## Running
|
||||||
|
|
||||||
|
Two methods of running are provided.
|
||||||
|
|
||||||
|
#### Method 1. The script
|
||||||
|
|
||||||
|
* Download the script or copy it from this [readme](https://efrick.ddns.net/git/manfromhuh/ShowHidden/src/branch/master/README.md) and place it in a folder on your path.
|
||||||
|
* Add execute permissions. Example `chmod u+x /path/to/script/show_hidden.sh`
|
||||||
|
* Run from the commandline.
|
||||||
|
|
||||||
|
#### Method 2. The app
|
||||||
|
|
||||||
|
* Download the [.dmg](https://efrick.ddns.net/git/manfromhuh/ShowHidden/releases).
|
||||||
|
* Open the .dmg and drag the application to the Applications folder.
|
||||||
|
* Run from the application menu.
|
62
Show Hidden.app/Contents/Info.plist
Normal file
62
Show Hidden.app/Contents/Info.plist
Normal file
@ -0,0 +1,62 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||||
|
<plist version="1.0">
|
||||||
|
<dict>
|
||||||
|
<key>AMIsApplet</key>
|
||||||
|
<true/>
|
||||||
|
<key>AMStayOpen</key>
|
||||||
|
<false/>
|
||||||
|
<key>CFBundleDevelopmentRegion</key>
|
||||||
|
<string>English</string>
|
||||||
|
<key>CFBundleDocumentTypes</key>
|
||||||
|
<array>
|
||||||
|
<dict>
|
||||||
|
<key>CFBundleTypeExtensions</key>
|
||||||
|
<array>
|
||||||
|
<string>*</string>
|
||||||
|
</array>
|
||||||
|
<key>CFBundleTypeName</key>
|
||||||
|
<string>Automator workflow file</string>
|
||||||
|
<key>CFBundleTypeOSTypes</key>
|
||||||
|
<array>
|
||||||
|
<string>****</string>
|
||||||
|
</array>
|
||||||
|
<key>CFBundleTypeRole</key>
|
||||||
|
<string>Viewer</string>
|
||||||
|
</dict>
|
||||||
|
</array>
|
||||||
|
<key>CFBundleExecutable</key>
|
||||||
|
<string>Application Stub</string>
|
||||||
|
<key>CFBundleIconFile</key>
|
||||||
|
<string>AutomatorApplet</string>
|
||||||
|
<key>CFBundleIdentifier</key>
|
||||||
|
<string>com.apple.automator.Show Hidden</string>
|
||||||
|
<key>CFBundleInfoDictionaryVersion</key>
|
||||||
|
<string>6.0</string>
|
||||||
|
<key>CFBundleName</key>
|
||||||
|
<string>Show Hidden</string>
|
||||||
|
<key>CFBundlePackageType</key>
|
||||||
|
<string>APPL</string>
|
||||||
|
<key>CFBundleShortVersionString</key>
|
||||||
|
<string>1.1</string>
|
||||||
|
<key>CFBundleSignature</key>
|
||||||
|
<string>????</string>
|
||||||
|
<key>CFBundleVersion</key>
|
||||||
|
<string>247.1</string>
|
||||||
|
<key>LSMinimumSystemVersion</key>
|
||||||
|
<string>10.5</string>
|
||||||
|
<key>LSMinimumSystemVersionByArchitecture</key>
|
||||||
|
<dict>
|
||||||
|
<key>x86_64</key>
|
||||||
|
<string>10.6</string>
|
||||||
|
</dict>
|
||||||
|
<key>LSUIElement</key>
|
||||||
|
<false/>
|
||||||
|
<key>NSAppleScriptEnabled</key>
|
||||||
|
<string>YES</string>
|
||||||
|
<key>NSMainNibFile</key>
|
||||||
|
<string>ApplicationStub</string>
|
||||||
|
<key>NSPrincipalClass</key>
|
||||||
|
<string>NSApplication</string>
|
||||||
|
</dict>
|
||||||
|
</plist>
|
BIN
Show Hidden.app/Contents/MacOS/Application Stub
Executable file
BIN
Show Hidden.app/Contents/MacOS/Application Stub
Executable file
Binary file not shown.
1
Show Hidden.app/Contents/PkgInfo
Normal file
1
Show Hidden.app/Contents/PkgInfo
Normal file
@ -0,0 +1 @@
|
|||||||
|
APPL????
|
BIN
Show Hidden.app/Contents/Resources/AutomatorApplet.icns
Normal file
BIN
Show Hidden.app/Contents/Resources/AutomatorApplet.icns
Normal file
Binary file not shown.
BIN
Show Hidden.app/Contents/Resources/AutomatorApplet_old.icns
Normal file
BIN
Show Hidden.app/Contents/Resources/AutomatorApplet_old.icns
Normal file
Binary file not shown.
BIN
Show Hidden.app/Contents/Resources/Dutch.lproj/ApplicationStub.nib/keyedobjects.nib
generated
Normal file
BIN
Show Hidden.app/Contents/Resources/Dutch.lproj/ApplicationStub.nib/keyedobjects.nib
generated
Normal file
Binary file not shown.
BIN
Show Hidden.app/Contents/Resources/English.lproj/ApplicationStub.nib/keyedobjects.nib
generated
Normal file
BIN
Show Hidden.app/Contents/Resources/English.lproj/ApplicationStub.nib/keyedobjects.nib
generated
Normal file
Binary file not shown.
BIN
Show Hidden.app/Contents/Resources/French.lproj/ApplicationStub.nib/keyedobjects.nib
generated
Normal file
BIN
Show Hidden.app/Contents/Resources/French.lproj/ApplicationStub.nib/keyedobjects.nib
generated
Normal file
Binary file not shown.
BIN
Show Hidden.app/Contents/Resources/German.lproj/ApplicationStub.nib/keyedobjects.nib
generated
Normal file
BIN
Show Hidden.app/Contents/Resources/German.lproj/ApplicationStub.nib/keyedobjects.nib
generated
Normal file
Binary file not shown.
BIN
Show Hidden.app/Contents/Resources/Italian.lproj/ApplicationStub.nib/keyedobjects.nib
generated
Normal file
BIN
Show Hidden.app/Contents/Resources/Italian.lproj/ApplicationStub.nib/keyedobjects.nib
generated
Normal file
Binary file not shown.
BIN
Show Hidden.app/Contents/Resources/Japanese.lproj/ApplicationStub.nib/keyedobjects.nib
generated
Normal file
BIN
Show Hidden.app/Contents/Resources/Japanese.lproj/ApplicationStub.nib/keyedobjects.nib
generated
Normal file
Binary file not shown.
BIN
Show Hidden.app/Contents/Resources/Spanish.lproj/ApplicationStub.nib/keyedobjects.nib
generated
Normal file
BIN
Show Hidden.app/Contents/Resources/Spanish.lproj/ApplicationStub.nib/keyedobjects.nib
generated
Normal file
Binary file not shown.
BIN
Show Hidden.app/Contents/Resources/da.lproj/ApplicationStub.nib/keyedobjects.nib
generated
Normal file
BIN
Show Hidden.app/Contents/Resources/da.lproj/ApplicationStub.nib/keyedobjects.nib
generated
Normal file
Binary file not shown.
BIN
Show Hidden.app/Contents/Resources/fi.lproj/ApplicationStub.nib/keyedobjects.nib
generated
Normal file
BIN
Show Hidden.app/Contents/Resources/fi.lproj/ApplicationStub.nib/keyedobjects.nib
generated
Normal file
Binary file not shown.
BIN
Show Hidden.app/Contents/Resources/ko.lproj/ApplicationStub.nib/keyedobjects.nib
generated
Normal file
BIN
Show Hidden.app/Contents/Resources/ko.lproj/ApplicationStub.nib/keyedobjects.nib
generated
Normal file
Binary file not shown.
BIN
Show Hidden.app/Contents/Resources/no.lproj/ApplicationStub.nib/keyedobjects.nib
generated
Normal file
BIN
Show Hidden.app/Contents/Resources/no.lproj/ApplicationStub.nib/keyedobjects.nib
generated
Normal file
Binary file not shown.
BIN
Show Hidden.app/Contents/Resources/pl.lproj/ApplicationStub.nib/keyedobjects.nib
generated
Normal file
BIN
Show Hidden.app/Contents/Resources/pl.lproj/ApplicationStub.nib/keyedobjects.nib
generated
Normal file
Binary file not shown.
BIN
Show Hidden.app/Contents/Resources/pt.lproj/ApplicationStub.nib/keyedobjects.nib
generated
Normal file
BIN
Show Hidden.app/Contents/Resources/pt.lproj/ApplicationStub.nib/keyedobjects.nib
generated
Normal file
Binary file not shown.
BIN
Show Hidden.app/Contents/Resources/pt_PT.lproj/ApplicationStub.nib/keyedobjects.nib
generated
Normal file
BIN
Show Hidden.app/Contents/Resources/pt_PT.lproj/ApplicationStub.nib/keyedobjects.nib
generated
Normal file
Binary file not shown.
BIN
Show Hidden.app/Contents/Resources/ru.lproj/ApplicationStub.nib/keyedobjects.nib
generated
Normal file
BIN
Show Hidden.app/Contents/Resources/ru.lproj/ApplicationStub.nib/keyedobjects.nib
generated
Normal file
Binary file not shown.
BIN
Show Hidden.app/Contents/Resources/sv.lproj/ApplicationStub.nib/keyedobjects.nib
generated
Normal file
BIN
Show Hidden.app/Contents/Resources/sv.lproj/ApplicationStub.nib/keyedobjects.nib
generated
Normal file
Binary file not shown.
BIN
Show Hidden.app/Contents/Resources/zh_CN.lproj/ApplicationStub.nib/keyedobjects.nib
generated
Normal file
BIN
Show Hidden.app/Contents/Resources/zh_CN.lproj/ApplicationStub.nib/keyedobjects.nib
generated
Normal file
Binary file not shown.
BIN
Show Hidden.app/Contents/Resources/zh_TW.lproj/ApplicationStub.nib/keyedobjects.nib
generated
Normal file
BIN
Show Hidden.app/Contents/Resources/zh_TW.lproj/ApplicationStub.nib/keyedobjects.nib
generated
Normal file
Binary file not shown.
273
Show Hidden.app/Contents/document.wflow
Normal file
273
Show Hidden.app/Contents/document.wflow
Normal file
@ -0,0 +1,273 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||||
|
<plist version="1.0">
|
||||||
|
<dict>
|
||||||
|
<key>AMApplicationBuild</key>
|
||||||
|
<string>247.1</string>
|
||||||
|
<key>AMApplicationVersion</key>
|
||||||
|
<string>2.1.1</string>
|
||||||
|
<key>AMDocumentVersion</key>
|
||||||
|
<string>2</string>
|
||||||
|
<key>actions</key>
|
||||||
|
<array>
|
||||||
|
<dict>
|
||||||
|
<key>action</key>
|
||||||
|
<dict>
|
||||||
|
<key>AMAccepts</key>
|
||||||
|
<dict>
|
||||||
|
<key>Container</key>
|
||||||
|
<string>List</string>
|
||||||
|
<key>Optional</key>
|
||||||
|
<true/>
|
||||||
|
<key>Types</key>
|
||||||
|
<array>
|
||||||
|
<string>com.apple.cocoa.string</string>
|
||||||
|
</array>
|
||||||
|
</dict>
|
||||||
|
<key>AMActionVersion</key>
|
||||||
|
<string>2.0.1</string>
|
||||||
|
<key>AMParameterProperties</key>
|
||||||
|
<dict>
|
||||||
|
<key>COMMAND_STRING</key>
|
||||||
|
<dict/>
|
||||||
|
<key>CheckedForUserDefaultShell</key>
|
||||||
|
<dict/>
|
||||||
|
<key>inputMethod</key>
|
||||||
|
<dict/>
|
||||||
|
<key>shell</key>
|
||||||
|
<dict/>
|
||||||
|
<key>source</key>
|
||||||
|
<dict/>
|
||||||
|
</dict>
|
||||||
|
<key>AMProvides</key>
|
||||||
|
<dict>
|
||||||
|
<key>Container</key>
|
||||||
|
<string>List</string>
|
||||||
|
<key>Types</key>
|
||||||
|
<array>
|
||||||
|
<string>com.apple.cocoa.string</string>
|
||||||
|
</array>
|
||||||
|
</dict>
|
||||||
|
<key>ActionBundlePath</key>
|
||||||
|
<string>/System/Library/Automator/Run Shell Script.action</string>
|
||||||
|
<key>ActionName</key>
|
||||||
|
<string>Run Shell Script</string>
|
||||||
|
<key>ActionParameters</key>
|
||||||
|
<dict>
|
||||||
|
<key>COMMAND_STRING</key>
|
||||||
|
<string>#show or hide hidden files in mac finder
|
||||||
|
|
||||||
|
show=$(defaults read com.apple.finder AppleShowAllFiles)
|
||||||
|
if [ "$show" == "TRUE" ]
|
||||||
|
then
|
||||||
|
defaults write com.apple.finder AppleShowAllFiles FALSE;killall Finder
|
||||||
|
else [ "$show" == "FALSE" ]
|
||||||
|
defaults write com.apple.finder AppleShowAllFiles TRUE;killall Finder
|
||||||
|
fi
|
||||||
|
|
||||||
|
exit</string>
|
||||||
|
<key>CheckedForUserDefaultShell</key>
|
||||||
|
<true/>
|
||||||
|
<key>inputMethod</key>
|
||||||
|
<integer>0</integer>
|
||||||
|
<key>shell</key>
|
||||||
|
<string>/bin/bash</string>
|
||||||
|
<key>source</key>
|
||||||
|
<string></string>
|
||||||
|
</dict>
|
||||||
|
<key>Application</key>
|
||||||
|
<array>
|
||||||
|
<string>Automator</string>
|
||||||
|
</array>
|
||||||
|
<key>BundleIdentifier</key>
|
||||||
|
<string>com.apple.RunShellScript</string>
|
||||||
|
<key>CFBundleVersion</key>
|
||||||
|
<string>2.0.1</string>
|
||||||
|
<key>CanShowSelectedItemsWhenRun</key>
|
||||||
|
<false/>
|
||||||
|
<key>CanShowWhenRun</key>
|
||||||
|
<true/>
|
||||||
|
<key>Category</key>
|
||||||
|
<array>
|
||||||
|
<string>AMCategoryUtilities</string>
|
||||||
|
</array>
|
||||||
|
<key>Class Name</key>
|
||||||
|
<string>RunShellScriptAction</string>
|
||||||
|
<key>InputUUID</key>
|
||||||
|
<string>46E99D34-541D-4DFD-957C-B128F83D2093</string>
|
||||||
|
<key>Keywords</key>
|
||||||
|
<array>
|
||||||
|
<string>Shell</string>
|
||||||
|
<string>Script</string>
|
||||||
|
<string>Command</string>
|
||||||
|
<string>Run</string>
|
||||||
|
<string>Unix</string>
|
||||||
|
</array>
|
||||||
|
<key>OutputUUID</key>
|
||||||
|
<string>D6C51654-D625-4F4A-B584-DCCB86326133</string>
|
||||||
|
<key>UUID</key>
|
||||||
|
<string>FC950196-8430-4CFE-B95C-1C28A840489F</string>
|
||||||
|
<key>UnlocalizedApplications</key>
|
||||||
|
<array>
|
||||||
|
<string>Automator</string>
|
||||||
|
</array>
|
||||||
|
<key>arguments</key>
|
||||||
|
<dict>
|
||||||
|
<key>0</key>
|
||||||
|
<dict>
|
||||||
|
<key>default value</key>
|
||||||
|
<integer>0</integer>
|
||||||
|
<key>name</key>
|
||||||
|
<string>inputMethod</string>
|
||||||
|
<key>required</key>
|
||||||
|
<string>0</string>
|
||||||
|
<key>type</key>
|
||||||
|
<string>0</string>
|
||||||
|
<key>uuid</key>
|
||||||
|
<string>0</string>
|
||||||
|
</dict>
|
||||||
|
<key>1</key>
|
||||||
|
<dict>
|
||||||
|
<key>default value</key>
|
||||||
|
<string></string>
|
||||||
|
<key>name</key>
|
||||||
|
<string>source</string>
|
||||||
|
<key>required</key>
|
||||||
|
<string>0</string>
|
||||||
|
<key>type</key>
|
||||||
|
<string>0</string>
|
||||||
|
<key>uuid</key>
|
||||||
|
<string>1</string>
|
||||||
|
</dict>
|
||||||
|
<key>2</key>
|
||||||
|
<dict>
|
||||||
|
<key>default value</key>
|
||||||
|
<false/>
|
||||||
|
<key>name</key>
|
||||||
|
<string>CheckedForUserDefaultShell</string>
|
||||||
|
<key>required</key>
|
||||||
|
<string>0</string>
|
||||||
|
<key>type</key>
|
||||||
|
<string>0</string>
|
||||||
|
<key>uuid</key>
|
||||||
|
<string>2</string>
|
||||||
|
</dict>
|
||||||
|
<key>3</key>
|
||||||
|
<dict>
|
||||||
|
<key>default value</key>
|
||||||
|
<string></string>
|
||||||
|
<key>name</key>
|
||||||
|
<string>COMMAND_STRING</string>
|
||||||
|
<key>required</key>
|
||||||
|
<string>0</string>
|
||||||
|
<key>type</key>
|
||||||
|
<string>0</string>
|
||||||
|
<key>uuid</key>
|
||||||
|
<string>3</string>
|
||||||
|
</dict>
|
||||||
|
<key>4</key>
|
||||||
|
<dict>
|
||||||
|
<key>default value</key>
|
||||||
|
<string>/bin/sh</string>
|
||||||
|
<key>name</key>
|
||||||
|
<string>shell</string>
|
||||||
|
<key>required</key>
|
||||||
|
<string>0</string>
|
||||||
|
<key>type</key>
|
||||||
|
<string>0</string>
|
||||||
|
<key>uuid</key>
|
||||||
|
<string>4</string>
|
||||||
|
</dict>
|
||||||
|
</dict>
|
||||||
|
<key>isViewVisible</key>
|
||||||
|
<true/>
|
||||||
|
<key>location</key>
|
||||||
|
<string>309.500000:451.000000</string>
|
||||||
|
<key>nibPath</key>
|
||||||
|
<string>/System/Library/Automator/Run Shell Script.action/Contents/Resources/English.lproj/main.nib</string>
|
||||||
|
</dict>
|
||||||
|
<key>isViewVisible</key>
|
||||||
|
<true/>
|
||||||
|
</dict>
|
||||||
|
</array>
|
||||||
|
<key>connectors</key>
|
||||||
|
<dict/>
|
||||||
|
<key>state</key>
|
||||||
|
<dict>
|
||||||
|
<key>AMLogTabViewSelectedIndex</key>
|
||||||
|
<integer>0</integer>
|
||||||
|
<key>libraryState</key>
|
||||||
|
<dict>
|
||||||
|
<key>actionsMajorSplitViewState</key>
|
||||||
|
<dict>
|
||||||
|
<key>expandedPosition</key>
|
||||||
|
<real>0.0</real>
|
||||||
|
<key>subviewState</key>
|
||||||
|
<array>
|
||||||
|
<string>0.000000, 0.000000, 381.000000, 515.000000, NO</string>
|
||||||
|
<string>0.000000, 516.000000, 381.000000, 136.000000, NO</string>
|
||||||
|
</array>
|
||||||
|
</dict>
|
||||||
|
<key>actionsMinorSplitViewState</key>
|
||||||
|
<dict>
|
||||||
|
<key>expandedPosition</key>
|
||||||
|
<real>0.0</real>
|
||||||
|
<key>subviewState</key>
|
||||||
|
<array>
|
||||||
|
<string>0.000000, 0.000000, 163.000000, 515.000000, NO</string>
|
||||||
|
<string>164.000000, 0.000000, 217.000000, 515.000000, NO</string>
|
||||||
|
</array>
|
||||||
|
</dict>
|
||||||
|
<key>variablesMajorSplitViewState</key>
|
||||||
|
<dict>
|
||||||
|
<key>expandedPosition</key>
|
||||||
|
<real>0.0</real>
|
||||||
|
<key>subviewState</key>
|
||||||
|
<array>
|
||||||
|
<string>0.000000, 0.000000, 350.000000, 555.000000, NO</string>
|
||||||
|
<string>0.000000, 556.000000, 350.000000, 148.000000, NO</string>
|
||||||
|
</array>
|
||||||
|
</dict>
|
||||||
|
<key>variablesMinorSplitViewState</key>
|
||||||
|
<dict>
|
||||||
|
<key>expandedPosition</key>
|
||||||
|
<real>0.0</real>
|
||||||
|
<key>subviewState</key>
|
||||||
|
<array>
|
||||||
|
<string>0.000000, 0.000000, 163.000000, 555.000000, NO</string>
|
||||||
|
<string>164.000000, 0.000000, 186.000000, 555.000000, NO</string>
|
||||||
|
</array>
|
||||||
|
</dict>
|
||||||
|
</dict>
|
||||||
|
<key>majorSplitViewState</key>
|
||||||
|
<dict>
|
||||||
|
<key>expandedPosition</key>
|
||||||
|
<real>0.0</real>
|
||||||
|
<key>subviewState</key>
|
||||||
|
<array>
|
||||||
|
<string>0.000000, 0.000000, 381.000000, 697.000000, NO</string>
|
||||||
|
<string>382.000000, 0.000000, 619.000000, 697.000000, NO</string>
|
||||||
|
</array>
|
||||||
|
</dict>
|
||||||
|
<key>minorSplitViewState</key>
|
||||||
|
<dict>
|
||||||
|
<key>expandedPosition</key>
|
||||||
|
<real>0.0</real>
|
||||||
|
<key>subviewState</key>
|
||||||
|
<array>
|
||||||
|
<string>0.000000, 0.000000, 619.000000, 506.000000, NO</string>
|
||||||
|
<string>0.000000, 516.000000, 619.000000, 162.000000, NO</string>
|
||||||
|
</array>
|
||||||
|
</dict>
|
||||||
|
<key>windowFrame</key>
|
||||||
|
<string>{{680, 254}, {1000, 774}}</string>
|
||||||
|
<key>workflowViewScrollPosition</key>
|
||||||
|
<string>{{0, 0}, {619, 506}}</string>
|
||||||
|
</dict>
|
||||||
|
<key>workflowMetaData</key>
|
||||||
|
<dict>
|
||||||
|
<key>workflowTypeIdentifier</key>
|
||||||
|
<string>com.apple.Automator.application</string>
|
||||||
|
</dict>
|
||||||
|
</dict>
|
||||||
|
</plist>
|
16
Show Hidden.app/Contents/version.plist
Normal file
16
Show Hidden.app/Contents/version.plist
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||||
|
<plist version="1.0">
|
||||||
|
<dict>
|
||||||
|
<key>BuildVersion</key>
|
||||||
|
<string>2</string>
|
||||||
|
<key>CFBundleShortVersionString</key>
|
||||||
|
<string>1.1</string>
|
||||||
|
<key>CFBundleVersion</key>
|
||||||
|
<string>247.1</string>
|
||||||
|
<key>ProjectName</key>
|
||||||
|
<string>Automator</string>
|
||||||
|
<key>SourceVersion</key>
|
||||||
|
<string>2470100</string>
|
||||||
|
</dict>
|
||||||
|
</plist>
|
BIN
ShowHidden.dmg
Executable file
BIN
ShowHidden.dmg
Executable file
Binary file not shown.
11
show_hidden.sh
Executable file
11
show_hidden.sh
Executable file
@ -0,0 +1,11 @@
|
|||||||
|
#show or hide hidden files in mac finder
|
||||||
|
|
||||||
|
show=$(defaults read com.apple.finder AppleShowAllFiles)
|
||||||
|
if [ "$show" == "TRUE" ]
|
||||||
|
then
|
||||||
|
defaults write com.apple.finder AppleShowAllFiles FALSE;killall Finder
|
||||||
|
else [ "$show" == "FALSE" ]
|
||||||
|
defaults write com.apple.finder AppleShowAllFiles TRUE;killall Finder
|
||||||
|
fi
|
||||||
|
|
||||||
|
exit
|
Loading…
x
Reference in New Issue
Block a user