cd
to the location of the original folder (on the SSD), and delete it via sudo rm -rf foldername
.ln -s /Volumes/HDDname/path/to/foldername
.ln
command, think of the syntax as being “put a link here, that points to there”.)echo 'This is a test' > foo
ln foo bar
ls -li bar foo
$ echo 'I love Linux and Unix' > file.txt
$ cat file.txt
## create hard links ##
$ ln -v file.txt hardlink1
$ ln -v file.txt hardlink2
## list all files with inodes ##
$ ls -li file.txt hardlink?
## remove 1st hardlink ##
$ rm hardlink1
$ ls -li file.txt hardlink?
## remove source file ##
$ rm file.txt
$ ls -li file.txt hardlink?
## but we can still access original file.txt data ##
$ cat hardlink2
## to get rid of file.txt data delete all hard links too ##
$ rm hardlink2
## error error all data gone ##
$ cat file.txt hardlink?
$ ls -li file.txt hardlink?
$ ln -sv postupload.sh cmspostupload.sh
$ ln -sv postupload.sh faqpostupload.sh
$ ls -li postupload.sh cmspostupload.sh faqpostupload.sh