SymbolicLinker is now compatible with macOS 10.12 (“Sierra”). The old CM plugin for macOS 10.5 and earlier users has been removed. If you’re still using a version of macOS prior to 10.6, then please download the previous release of SymbolicLinker. Global Nav Open Menu Global Nav Close Menu; Apple; Shopping Bag +. Aug 06, 2015 A symbolic link created at the command line allows a linked object in the file system to point to an original object in a different location. In this way, symbolic links behave much like an alias d. Nick Zitzmann SymbolicLinker 2.0 When Apple made the transition from Mac OS 9 to Mac OS X, one of the under-the-hood consequences was that Mac aliases—tiny files that point to other files—lost some.
Create Hardlinks to Sync Folders with Google Drive
hardlink.c
/*** |
Synopsis: One of two viable options I have found to create hard-links of directories from other directories on your system directly to Google Drive has been hardlink.c (by Sam, @selkhateeb on Github) and a Mac OSX Application called SymbolicLinker. SymbolicLinker can be found at http://seiryu.home.comcast.net/~seiryu/symboliclinker.html as-well as http://www.macupdate.com/app/mac/10433/symboliclinker. Now, you can sync specific folders to your Google Drive since that GDrive does not allow for actual symbolic links (ln -s) to create files that will be uploaded to the 'cloud'. |
Application: hardlink |
URL: https://github.com/selkhateeb/hardlink |
Author: Sam (@selkhateeb) |
Description: Allows for the user to create hardlinks of directories. |
Installation: 1) make 2) sudo make install |
Usage: hardlink /home/username/foldername/ /home/username/Documents/Cloud/foldername/ |
***/ |
#include<unistd.h> |
#include<stdio.h> |
#include<string.h> |
/* |
On Mac OSX, we can't create hard links using the ln command.. |
Install: |
make |
sudo make install |
*/ |
intmain(int argc, char* argv[]) { |
//Make sure we have the right arguments |
if (argc != 3) |
{ |
fprintf(stderr,'Usage:thardlink source destinationn'); |
fprintf(stderr,'t hard links the source directory to the destinationn'); |
fprintf(stderr,'thardlink -u destinationn'); |
fprintf(stderr,'t unlinks the destination directoyn'); |
return1; |
} |
int ret = 0; |
if(strcmp(argv[1], '-u') 0) |
{ |
ret = unlink(argv[2]); |
} |
else |
ret = link(argv[1],argv[2]); |
if (ret != 0) |
perror('hardlink'); |
return ret; |
} |
Makefile
OUTPUT=hardlink |
C_FILES=hardlink.c |
all: |
gcc ${C_FILES} -o ${OUTPUT} |
clean: |
rm ${OUTPUT} |
install: |
cp ${OUTPUT} /usr/local/bin/ |
commented Oct 13, 2017
Symboliclinker
Symboliclinker Download
Nice! As an alternative, you can also install the GNU coreutils and use gln -d : |
Symboliclinker Mac Download
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment