Terminal command to make aliases (shortcuts) of files/folders?

Joined
May 14, 2012
Messages
7
Reaction score
0
Points
1
I am seeing if there exists a command for terminal that will create an alias (shortcut) to a file/folder. Any searching I do online, the term alias means something other than a shortcut. I have about 450 folders I need shortcuts for, they're contained within other folders. Thanks.
 
Joined
Jul 2, 2007
Messages
3,494
Reaction score
204
Points
63
Location
Going Galt...
Your Mac's Specs
MacBookAir5,2:10.13.6-iMac18,3:10.13.6-iPhone9,3:11.4.1
Are you trying to create symbolic links perhaps?

ln -s command?
 
OP
E
Joined
May 14, 2012
Messages
7
Reaction score
0
Points
1
I guess that is what I'm trying to do. I just tried to use the command, got this error:

ln: illegal option -- a
usage: ln [-Ffhinsv] source_file [target_file]
ln [-Ffhinsv] source_file ... target_dir
link source_file target_file

I typed ln -a /RescuePro/ for the RescuePRO folder in my main drive, just to see what it did. Am I phrasing this wrong, or do I have to tell it where to put the link/shortcut? Thanks.
 
OP
E
Joined
May 14, 2012
Messages
7
Reaction score
0
Points
1
Are you trying to create symbolic links perhaps?

ln -s command?

So I have this part down. However, when I create the link, it doesn't work when put on a network, unlike the alias that I make by control-clicking the folder. Any suggestions?
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top