Questions tagged [alias]

Use this tag for questions concerning use of alias in macOS

Filter by
Sorted by
Tagged with
0
votes
0answers
19 views

How to reply using custom email in iCloud Mail/ Mail?

Suppose I have purchased a domain example.com from Google Domains, and I have created an alias user@example.com which forwards to user@icloud.com. So now I'm able to receive forwarded mails, but how ...
1
vote
1answer
37 views

For the life of me can't find where terminal alias's are stored

So I have been playing around with aliases in bash and it is easy enough to add them. alias lsl="ls -l" My question is, where are they stored? I am using the bash shell, so I looked in the ...
0
votes
0answers
70 views

“locate” returns relative instead of absolute paths

I have the following entry in root's crontab: 0 */4 * * * cd /private/var/root && ./locate.updatedb I have an alias for locate in ~/.zshrc: alias locate='locate -d /var/db/locate.database' ...
1
vote
1answer
93 views

How can I open my Downloads folder in one click? [duplicate]

How can I open my Downloads folder in one click? Downloads are my most important folder because that's where the new files go. Yet, it is the only folder I can't make an alias for, meaning I can open ...
0
votes
0answers
129 views

macOS Big Sur can't remove ghost icon from deleted application

I've deleted TextMate and its alias from Launchpad and Library - still have a "ghost" icon showing in all windows (see screenshot). When I enter Launchpad that ghost icon (in last screen) ...
4
votes
1answer
1k views

What is the “On My Mac” folder in macOS Big Sur?

I have recently upgraded to macOS Big Sur 11.0.1 from macOS 10.15.7 on my 2016 MacBook Pro. In Finder, there is a new (?) folder called "On My Mac" which I have never seen before. It ...
1
vote
1answer
84 views

Creating an alias for Python in bash/zsh

I have often seen people recommending to setup an alias in one's .bash_profile or .zshrc along the lines of alias python='python3' This seems like a convenient idea, however, as far as I understand, ...
0
votes
0answers
21 views

SSH Aliases in Finder

I have a feeling this is a new bug in macOS, but could also be to do with some misconfiguration on my machine. As this worked until recently. I'm on macOS 10.15.7 (19H2). I use the Finder's Connect ...
0
votes
1answer
41 views

iOS & iCloud File Aliases?

Anyone have any luck using iCloud file aliases with iOS Files?? Seems the aliases created on the Mac are nothing more than nearly empty text files that are useless in iOS?
1
vote
1answer
60 views

Any way to make symlinks or aliases resolve over a network with macOS?

So I like to move my big folders from the home folder on the macOS System SSD to a hard drive and keep the SSD mainly for the system files and apps, a fairly common practice. Problem is when I want to ...
0
votes
0answers
142 views

How to use variable in alias termux?

my alias for opening Google is is like this alias g="termux-open-url https://google.com" for search url look like this http://google.com/search?q=what+I+search I wanted that if I write g what I ...
1
vote
1answer
38 views

How can I place a shortcut to a network folder in my sidebar?

My ultimate goal here is very simple: I want to place a shortcut to a specific network folder (on another machine my home network), in the sidebar of my personal machine. But I am getting some very ...
0
votes
4answers
107 views

Opening Randomized Images From Multiple Folders With Preview Application

Basically what I am trying to achieve is the following: Create an alias list of any amount of folders with the Finder's selection. Get all images from those folders with a shell script. Randomize ...
4
votes
2answers
200 views

List all aliases starting with a particular string

To improve on the steps I have to take to complete some actions on my Mac, I have created many aliases. Example: To open System Preferences, which I have to do often to manage multiple monitors, I ...
1
vote
0answers
31 views

How to copy all content of a folder excluding one filetype?

I have a folder containing 74 subfolders, that has a number of aliases strewn about within it. I'm trying to copy the entire top-level folder (and all of its contents, obviously) over to Google File ...
0
votes
0answers
93 views

Applescript alias is not updating after renaming a folder

I am still learning Applescript, but I am trying to script some automation for me. I am trying to get it to create a folder based on user input and then create a sub-folder with contents duplicated ...
0
votes
0answers
47 views

Fixing aliases for hidden files

Had to migrate to a new Mac and all of the aliases I have for hidden files are broken. When I try to navigate to the original file when I click "fix alias", I can't see the file in question in the ...
0
votes
1answer
26 views

Is there a way to configure Finder to move files to external drives by default, rather than copying them?

I was recently helping somebody move their Mac's information to Google Drive, and the best solution turned out to be using the Google Drive client for Mac. I moved the relevant files to their Google ...
0
votes
1answer
1k views

Turn Bluetooth On & Off via Terminal [duplicate]

I'm trying to find out how to turn Bluetooth On or Off by using the Terminal on macOS Catalina. I used to be able to do it with the following commands: alias bton="sudo defaults write /Library/...
0
votes
1answer
43 views

trying to run FSF emacs in character based mode ( -nw ) on Catalina

After installing Catalina on my laptop emacs vanished so I installed the latest version from FSF. Running it in a window (gui mode) works fine but I can't get it to reliably work in character mode in ...
0
votes
1answer
99 views

How to make and alias list from multiples results of a shell script?

So this is the shell script that I have in my Applescript editor which brings up all of the videos that have been added to my computer today. do shell script "mdfind 'kMDItemDateAdded >= $time....
0
votes
1answer
224 views

Applescript problems with renaming a file and getting the alias to change it's name as well

I have run into a particular problem with a larger script that I am writing. I am trying to rename all the files in a folder with a prefix of "temp_" and in doing so have the alias to that file still ...
1
vote
1answer
601 views

spotlight finds “anaconda-navigator” but `conda` has been uninstalled

CLARIFICATION. I am not trying to use conda, much less reinstall it. My question is about a behaviour that I don't understand. THE BEHAVIOUR. Some time ago I (must have) uninstalled conda, and ...
0
votes
1answer
28 views

Command works when run from alias but not when typed?

I use to type this command a lot : sshfs 10.xxx.xx.4:/Users/username/code mountpoint So one day i put it as an alias on my .bash_profile as alias sshfs='sshfs 10.xxx.xx.4:/Users/username/code ...
2
votes
2answers
208 views

MacOS zsh alias pwd is incorrect

I recently switched to MacOS and some aliases in ZSH which were working on a linux system is giving me headaches in MacOS. To be specific, pwd variable inside alias is using the same directory where ...
0
votes
0answers
24 views

How can I create an alias/shorcut to sudo/root an app permanently?

I would like to have an alias to run an app as root always. I am trying to save time and not go through the terminal commands. Thanks!
0
votes
1answer
117 views

The command for alias local='…' gets run on terminal open

I have an alias set up in my .bash_profile file: alias local='npm run start-local', and for whatever reason when I open a new terminal session it is trying to run that command npm run start-local ...
1
vote
1answer
72 views

Open folder in dock by simply clicking

Hi. In my workspace I have these frequently used folders that I keep in my dock, but I find it annoying that I have to right click and click "open" every time i want to open them. Is there some way I ...
1
vote
2answers
78 views

Recreate old aliases in bulk to reduce their file size, keeping their name and creation date

I noticed that in recent versions of macOS, aliases I create are smaller than they used to be. I have a folder full of old aliases whose sizes range from 50 KB to 6 MB, but new aliases seem to be ...
6
votes
1answer
3k views

Best practices to move macOS Mail.app storage to an external drive?

I have a system with fairly small internal storage (500GB) so I have attached a reasonably quick external storage device (256GB) that will be constantly mounted. To free up space on the internal ...
5
votes
1answer
195 views

How can I create a Finder alias in a bash script that reads arguments from the command-line?

I'd like to write a bash script that takes 2 inputs: path to actual file path of a Finder alias file (not a unix link) to be created that refers to 1. The bash script should pass these inputs to an ...
1
vote
1answer
539 views

Finder doesn't show thumbnails for Alias in OS 10.14.2

Since upgrading to 10.14.2, the Finder doesn't make thumbnails for aliases of jpeg image files, instead, it only displays the generic JPEG icon. Is this a new bug, or is there a hidden setting ...
1
vote
2answers
215 views

Bash Alias Not Found Error

I have the following command that I am trying to put into a bash alias. The command by itself works fine, but when I try to alias it, I am getting the following errors: The Command find . -maxdepth ...
2
votes
2answers
602 views

How does macOS implement symbolic link in Mojave on FAT32 filesystems?

I remember in the past, not all types of aliases (as in the macOS feature) can be created on all filesystems. This is because symbolic link (as in the type of file) is a special Unix file type, ...
1
vote
1answer
38 views

How can I create text-based aliases? (Local hyperlinks?)

I need to use deeply-buried files/folders on a hard disk at work. I can create aliases, which is helpful. An alias gives me an icon that I can double-click to open the original. But I would like to ...
3
votes
1answer
925 views

Alias in bash to Change Directory

When I am typing in a typical alias with my .bash_profile, my change directory is not working. I currently have the following: alias cdicloud="/Users/<username>/Library/Mobile Documents/com~...
1
vote
0answers
162 views

How to set PHP alias for all users

This is probably easy, but I don't know how to set it for all users. So, when I run: which php it shows /usr/local/php5-7.2.0-20171215-181251/bin/php However I've just installed PHP using brew on ...
3
votes
0answers
863 views

How can one trigger the creation of an iCloud Drive alias?

I am not referring to traditional symlinks in general, but specifically to the "alias" files used within iCloud Drive. I am also not referring to "stub" files that indicate that a file has not yet ...
1
vote
1answer
232 views

Can't navigate to folder alias on server in the save window

After upgrading to macOS High Sierra, I can't save a file to the alias of a folder in the open/save dialog box on a server. When browsing to the folder I want to save the file to, the folder aliases ...
0
votes
1answer
173 views

random “broken” alias from Keynote presentation

So for over a few months now ive been having issue with the Keynote application creating these 'broken alias' files on my MacBook Air randomly from time to time(10.13.5 High Sierra; APFS Volume). Ive ...
5
votes
1answer
291 views

AppleScript: alias reference is not changing after renaming a folder

I'm new to AppleScript and after doing: set folder_name to "New_Folder" tell application "Finder" to make new folder at desktop set my_folder to result as alias tell application "Finder" to set the ...
4
votes
2answers
1k views

How to create an Alias with a Variable inside?

I want to create an Alias for my Terminal to quick-search inside files. In Ubuntu is was: alias gre="egrep -rnw ". I used it like that $ gre 'my search string'. Now I want this for my local MacBook-...
0
votes
1answer
382 views

“can't get alias”?

I have the following script that I want to use to change a single string in a Pages file to another, and it bombs with can't get alias. How do I fix this? tell application "Pages" set MYTESTFILE ...
3
votes
3answers
284 views

Alias - 'Show Original' in new tab

Update: After the two answers so far I have moved the goalposts slightly. I need multiple selections & tabs - the existing answers; one has multi-select capability, the other gives me tabs, which ...
5
votes
2answers
4k views

symbolic link vs. alias

Disclaimer: I work with programmers, but am not one myself and have no real / formal knowledge of how an OS works; please be patient if the following makes plain my ignorance :) I am trying to ...
1
vote
2answers
539 views

How do I make aliases hidden in macOS?

When I enter in Terminal: chflags hidden location_of_alias it hides the actual original folder the alias points to but it does not actually hide the alias itself. How do I do it?
5
votes
2answers
15k views

Creating aliases for iTerm 2 that work during ssh

I use numerous aliases set at a given UNIX environment. For example my current fish shell under OSX have these below gm -> git merge dk -> docker kill and so on. Now the challenge is I use iTerm 2 ...
2
votes
1answer
1k views

Is it possible to edit a macOS alias with vim?

I like to use macOS's alias feature to not have to make redundant files. These aliases work great with Chrome and TextEdit. When I open them with vim, however, I get a giant messy file (presumably the ...
1
vote
1answer
532 views

Remotely accessing Time Machine folder structure using Back To My Mac

I'm in Japan, and I have a Time Machine backup on a disk that's hooked up to my AirPort Extreme in New York. I can connect to the disk using Back To My Mac. The disk is quite old, and I have no backup ...
1
vote
1answer
584 views

Search for alias not finding files

I am running Yosemite on a Mac Pro Mid 2010. When I moved to an SSD for my boot drive, I started using Symbolic Linking so some apps would store their data on a regular HD. So, for example, I go to ...