-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
10,733 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,2 @@ | ||
# Build and Release Folders | ||
bin-debug/ | ||
bin-release/ | ||
[Oo]bj/ | ||
[Bb]in/ | ||
|
||
# Other files and folders | ||
.settings/ | ||
|
||
# Executables | ||
*.swf | ||
*.air | ||
*.ipa | ||
*.apk | ||
|
||
# Project files, i.e. `.project`, `.actionScriptProperties` and `.flexProperties` | ||
# should NOT be excluded as they contain compiler settings and other important | ||
# information for Eclipse / Flash Builder. | ||
.DS_Store | ||
TODO |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
#!/bin/zsh | ||
|
||
# Linker Finder QuickAction | ||
# version 1.0.0 | ||
|
||
export LANG=en_US.UTF-8 | ||
export PATH=/usr/bin:/usr/sbin:/bin:/sbin:/usr/local/bin:/opt/local/bin:/opt/sw/bin:/sw/bin:$HOME/.local/bin:$HOME/local/bin:$HOME/bin:$HOME/Developer/bin | ||
|
||
if ! command -v linker &>/dev/null ; then | ||
account=$(id -u) | ||
osascript &>/dev/null << EOT | ||
beep | ||
tell application "System Events" | ||
display notification "Linker main script not found!" with title "Linker [" & "$account" & "]" subtitle "❌ Error: \$PATH" | ||
end tell | ||
EOT | ||
exit | ||
fi | ||
|
||
linker "$@" & | ||
exit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
Linker is a macOS shell script and Finder QuickAction to create relative or absolute symbolic links, hard links, Finder aliases, file clones or legacy file copies | ||
|
||
Latest release: LINK | ||
|
||
* install linker shell script into your $PATH | ||
|
||
* supported paths for installation: | ||
/usr/local/bin | ||
/opt/local/bin | ||
/opt/sw/bin | ||
/sw/bin | ||
~/.local/bin | ||
~/local/bin | ||
~/bin | ||
~/Developer/bin | ||
|
||
* install QuickAction (workflow) with Automator Installer | ||
|
||
In Finder you can just use the QuickAction from the contextual menu. | ||
|
||
On the command-line or for tool integration in file managers like Nimble Commander you will have the following options: | ||
|
||
linker | ||
-a : create Finder alias | ||
-c : create cloned file copy (only on APFS) | ||
-d : create legacy file copy (true duplicate) | ||
-h : create hard link (only on HFS+ volumes) | ||
-r : create symbolic link with relative path | ||
-s : create symbolic link with absolute path | ||
|
||
Please note that even the above options will still use the GUI for the user to select the destination directory. | ||
|
||
Linker uses a code snippet from StackExchange: https://unix.stackexchange.com/a/85068/222515 |
Oops, something went wrong.