Git Product home page Git Product logo

linker's Introduction

Linker is a macOS shell script and Finder QuickAction to create relative or absolute symbolic links, hard links, Finder aliases, Bookmark files, file clones or legacy file copies

Latest release: https://github.com/JayBrown/Linker/releases/latest
Successfully tested on: macOS 10.15.7 (Catalina) & macOS 10.13.6 (High Sierra)

* 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

* execute the following, if the script doesn't run: chmod +x ./linker

* Mojave & later: install QuickAction workflow with Automator Installer
* High Sierra & earlier: install the Service workflow with Automator Installer

* Mojave 10.14.3 and earlier (optional): install the Swift 5 Runtime Support for Command Line Tools: https://support.apple.com/kb/DL1998?locale=en_US

In Finder you can just use the QuickAction from the contextual menu (or the Service on older systems).

You will have the following options on the command-line, for tool integration in file managers like Nimble Commander, or via the Touch Bar using BetterTouchTool:

linker
	-a		:	create Finder Alias
	-b		:	create Bookmark file (same as Finder Alias on newer systems)
	-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 modified code snippet from StackExchange: https://unix.stackexchange.com/a/85068/222515
Linker comes bundled with the alisma tool by EclecticLight: https://eclecticlight.co/downloads

linker's People

Contributors

jaybrown avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.