Questions tagged [alias]
Use this tag for questions concerning use of alias in macOS
194
questions
0
votes
0
answers
24
views
How to recover a quciktime screen recording if you run out of storage while recording?
I just recorded a few hours worth of footage on QuickTime. At one point, the recording automatically stopped because I ran out of space. I deleted a few files, and made some room.
After restarting the ...
0
votes
2
answers
115
views
How to point to a file in a different folder on iOS/iPadOS?
On my iPad, I use iCloud Drive and the Files app. My files are organized in folders in iCloud Drive so that I can access them on all of my devices.
I frequently want to point to a file that is stored ...
1
vote
1
answer
58
views
How can I reverse lookup an alias, ie. find what links to a file or folder?
Suppose I have a folder /my/dir/ and an alias in ~/Documents (called thisdir) pointing to /my/dir/. How can I find the alias (ie. find all aliases) that points to /my/dir/?
This question is unlike a ...
2
votes
0
answers
30
views
Terminal: Recursively search directory of aliases with "find” command
Probably answered in some I don't know to search for. I am using
find ~/. -type f | wc -l
as a quick-and-dirty way to count files.
Can I get Terminal to search macOS aliases as if they were hard ...
0
votes
0
answers
23
views
Display names for email aliases. How do they work?
’ve got a couple of email aliases set up on my main iCloud account. Within iCloud mail it allows you to specify your name and the actual alias address eg: ‘Dave’ then ‘Davesmith@icloud.com’
My ...
0
votes
1
answer
183
views
Move File to External Storage and Create Alias in Place on Mac
I am looking for setting up a backup system such that in which I can conveniently move the original file to the backup location, but it creates an alias (pointing towards the file now in the backup ...
0
votes
1
answer
42
views
How to deal with two mail binaries?
I recently installed both msmtp (smtp client) and mailutils on an M1 iMac via MacPorts. I couldn't get msmtp to work until I realized that there were two mail binaries on the machine, one that, I ...
0
votes
0
answers
162
views
aliases working in terminal but not in iterm
i use iterm and ohmyzsh.
this is what i have in my ~/.zshrc (after all the other stuff)
# Set personal aliases, overriding those provided by oh-my-zsh libs,
# plugins, and themes. Aliases can be ...
0
votes
0
answers
821
views
Removing an unwanted iCloud.com alias address "This is an alias of your Apple ID email address" error
I've been using my Apple ID since 2017 with "real@gmail.com". In an experiment to use iCloud custom domains I created "test@icloud.com" which is now tied to the account as Alias. I ...
0
votes
0
answers
150
views
Keep permissions set to Read + Write all the time when file sharing using the SMB protocol on macOS
Is there a way to disable permissions on a shared computer? I have tried setting permissions to everyone Read + Write, but some folders lock again, even "Apply to enclosed items". We are ...
7
votes
1
answer
853
views
difference ZSH and BASH for $RANDOM?
I just switched from Ubuntu to macOS (due to work reasons). And I wanted to transfer my bash aliases to zsh, but they are not working completely.
alias HPC1='ssh -l [username] [server1]'
alias HPC2='...
0
votes
0
answers
24
views
Is there a simple way to put a Catalina user folder on a external volume and be able to clone/BU using TNM/CCC?
i was hoping to ask if there a simple way to put a Catalina user folder on a external volume and be able to clone/BU using Time machine or CarbonCopy Cloner etc
I read some comments about using the ...
0
votes
1
answer
37
views
Starting an Application via LaunchPad vs. starting via Alias from Console
Mac Mini Monterey:
I have defined an Alias "jedit" to jEdit.app. If I start "jedit" from the commandline, jEdit starts and allows to edit all of my files. If I start jEdit by ...
3
votes
1
answer
1k
views
Limit number for "Hide my Email"?
I am in the process of modifying all my accounts to assign a unique email address to each one via the "Hide my Email" function.
I am currently at 273 addresses created for the occasion but I ...
0
votes
1
answer
829
views
How to use input variable in .zshrc alias?
I'm trying to create this alias:
alias mrc="php artisan make:controller $(user_input) --resource"
so that I can just type mrc ControllerName in the terminal to produce:
php artisan make:...
1
vote
1
answer
328
views
follow an alias link to a directory, using zsh and ohmyzsh
Is it possible to follow an alias link in Terminal using zsh and ohmyzsh?
My Terminal states: 'zsh: permission denied:' or 'cd: not a directory:' .
The alias is of course a little file and not a ...
4
votes
2
answers
7k
views
Limitations of iCloud+ own domain
What are the limitations of iCloud+ own domain in regard to emails?
Use Custom Email Domain with iCloud Mail
https://support.apple.com/en-us/HT212514
I am looking for:
a single domain which I ...
1
vote
2
answers
248
views
Is there a way to export aliases in macOS in the Korn Shell (ksh)?
Earlier versions of the Korn shell (ksh) allowed aliases to be exported to subshells by using the -x option, for example:
alias -x dog=cat
With the current version of macOS the ksh man page says:
&...
0
votes
1
answer
2k
views
How do you manage your zsh aliases?
I guess I should just put all my alises in the ~/.zshrc, correct? Or are there other places that's a better fit for personal alises?
Also wondering how you manage your list of aliases as you move ...
1
vote
1
answer
289
views
Send email from alias by default, Mail app
In the Mail app, I would like to automatically send new emails from my alias.
I have the alias set up so that it appears as one of the options in the "From" menu when composing an email, but ...
1
vote
1
answer
98
views
How can I find out which file(s) links to another file
This is a question about the reverse of a file link, which I can easily see in either Terminal or Get Info, ie. this
lrwxr-xr-x 1 Alex admin 35 7 Aug 23:35 envsubst -> ../Cellar/gettext/...
1
vote
0
answers
167
views
Can't move files into aliases stored on the Finder's Favorites sidebar?
I'm trying to make some aliases and add them to my Finder favorites so that they can be renamed without altering the original folder in any way (the original folder is on a shared work network).
I'm ...
1
vote
2
answers
122
views
Why do aliases with words not expand in big sur?
I have some aliases in my ~/.bashrc and ~/.bash_profile (I tried with and without .bash_profile), they were both sourced.
alias ll=‘ls -l’
alias al=‘ls -ahl’
alias iridium=“~/git/iridium”
alias ...
0
votes
1
answer
63
views
cannot use the mac_alias package to generate an alias
I have about 3000 files and I need to turn them into aliases so doing it by hand is not an option plus in the future I want to be able to do this automatically. I'm trying to use this package
https://...
0
votes
2
answers
868
views
Is there a way to input values and then run aliases in iterm2
I just came to know about the alias option and I have this code which would download any youtube vid in the highest quality. But the problem is I have to enter the url of the youtube vid.
Is there any ...
0
votes
0
answers
252
views
Cannot open folders in ~/Documents via alias or recent items
I am having a similar issue as outlined in this issue but with the added problem of I cannot open any folder located in ~/Documents via an alias or recent items. All that opens when I try is just the ...
1
vote
1
answer
378
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
0
answers
85
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
1
answer
2k
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
0
answers
660
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) ...
7
votes
1
answer
9k
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
1
answer
940
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
1
answer
307
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
1
answer
346
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
0
answers
826
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 ...
3
votes
1
answer
2k
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
4
answers
348
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
2
answers
1k
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
0
answers
69
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
0
answers
224
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
0
answers
132
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
1
answer
184
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
1
answer
7k
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
1
answer
60
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
1
answer
249
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
1
answer
903
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
1
answer
1k
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
1
answer
48
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 ...
3
votes
2
answers
699
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
0
answers
35
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!