Sample Header Ad - 728x90

Ask Different (Apple)

Q&A for power users of Apple hardware and software

Latest Questions

1 votes
1 answers
465 views
osascript "authorized to send Apple events to System Events. (-1743)" when invoked via JumpCloud
I have cooked up a JumpCloud Command to automate the configuration of desktop backgrounds. I can get the command to run on a test system (Monterey, 12.4) via Shell if I approve a dialog asking for permission. When I execute via JumpCloud, I get: ``` 59:74: execution error: Not authorized to send App...
I have cooked up a JumpCloud Command to automate the configuration of desktop backgrounds. I can get the command to run on a test system (Monterey, 12.4) via Shell if I approve a dialog asking for permission. When I execute via JumpCloud, I get:
59:74: execution error: Not authorized to send Apple events to System Events. (-1743)
The command itself: ``` target_user=$(w | awk '$2 == "console"{print $1}') export target_user sudo -u $target_user osascript Security & Privacy > Privacy > Automation" but there are no apps listed under "Automation." Under "Full Disk Access" there's a check for "jumpcloud-agent" ... perhaps I can extend that somehow?
dannyman (141 rep)
Jul 25, 2022, 07:15 PM • Last activity: Aug 5, 2025, 06:01 PM
1 votes
1 answers
276 views
Shortcut to toggle Bluetooth in Montery via blueutil shell script executed with AppleScript in BetterTouchTool
I have set the Mission Control key in BetterTouchTool to execute an AppleScript and it worked fine before the update from Mojave to Montery which I just did do shell script "../bluetoggle.sh" content of file is #!/bin/sh blueutil -p toggle but can't execute in BetterTouchTool.. it says [![enter imag...
I have set the Mission Control key in BetterTouchTool to execute an AppleScript and it worked fine before the update from Mojave to Montery which I just did do shell script "../bluetoggle.sh" content of file is #!/bin/sh blueutil -p toggle but can't execute in BetterTouchTool.. it says enter image description here Executing file from Terminal works flawless. Executing another script (do shell script "../karaprof.sh") in BetterTouchTool with following content to switch profile in Karabiner also works perfectly #!/bin/sh pro0="e" pro1="g" cli='/Library/Application Support/org.pqrs/Karabiner-Elements/bin/karabiner_cli' name=$("$cli" --show-current-profile-name) if [ "$name" = $pro0 ]; then "$cli" --select-profile $pro1 else "$cli" --select-profile $pro0 fi So my guess is I need to set permission for BetterTouchTool to execute scripts in Terminal, but how? I can't figure
needlol (134 rep)
Oct 19, 2022, 07:57 AM • Last activity: Aug 5, 2025, 10:01 AM
1 votes
1 answers
664 views
macOS Terminal Command to Disable Desktop Widgets?
Looking to find a way to use a terminal command to disable/enable desktop widgets in macOS Sonoma. The closest I have been able to find so far is a [script][1] that does this. However, I would like to do this from terminal, or from another app (such as BetterTouchTool) without running the script if...
Looking to find a way to use a terminal command to disable/enable desktop widgets in macOS Sonoma. The closest I have been able to find so far is a script that does this. However, I would like to do this from terminal, or from another app (such as BetterTouchTool) without running the script if possible. Thanks!
XRegex (11 rep)
Nov 3, 2023, 12:32 AM • Last activity: Aug 5, 2025, 06:34 AM
1 votes
1 answers
2115 views
Log in to my Apple ID via Terminal
Lets assume I have some Mac machine without access to the UI - only Terminal. Is there any possibility to log in to my Apple ID via Terminal? I want to log in and it should be logged in after this.
Lets assume I have some Mac machine without access to the UI - only Terminal. Is there any possibility to log in to my Apple ID via Terminal? I want to log in and it should be logged in after this.
kali876 (19 rep)
Jun 13, 2023, 09:41 AM • Last activity: Aug 2, 2025, 12:17 PM
1 votes
1 answers
235 views
Is it permissible to use the Xcode 3.0 DeRez and Rez command line tools for purposes other than localization?
I have an Apple Mac that has Mac OS X 10.5.8. On this Mac, Xcode version 3.0 is installed. From what I can tell, there are also the DeRez and Rez command line tools. The Xcode software may have been installed from one or more DVDs that came with the Mac. In the Xcode documentation (which can be view...
I have an Apple Mac that has Mac OS X 10.5.8. On this Mac, Xcode version 3.0 is installed. From what I can tell, there are also the DeRez and Rez command line tools. The Xcode software may have been installed from one or more DVDs that came with the Mac. In the Xcode documentation (which can be viewed by launching the Xcode application and then choosing Documentation from the Help menu), there is a page, “Command-Line Tools,” which mentions the DeRez and Rez tools. The path to this page is ADC Home > Reference Library > Guides > Mac OS X > Mac OS X Technology Overview > Mac OS X Developer Tools >. It may be possible to find this page in the Xcode documentation by doing a full-text search over all documentation sets with the search term “DeRez” (without quotes) and the “Contains” option (as opposed to “Starts With” or “Exact”) chosen. In the “Command-Line Tools” documentation page, there is a “Localization Tools” section. In this section, there is the statement “Table C-15 lists the applications and command-line tools for localizing your own applications.” Afterwards, there is a statement about the directory locations of the tools and then there is a table with information about the DeRez, genstrings, and Rez tools. The description for the DeRez tool includes the statement “You can use this utility to find strings for localization purposes, for example.” The description for the Rez tool includes the statement “You can use Rez to recompile the resource files you decompiled with DeRez after you have localized the strings.” Given these statements about localizing and this categorization of the DeRez and Rez tools, the following question comes up: Is it permissible under the licensing for the Xcode software and the DeRez and Rez command-line tools to use the DeRez and Rez tools for purposes other than localization (or, put another way, for purposes that do not involve localization)? I have a software project and there is a resource file (with the .rsrc extension) in the project. For the purposes of this posting, I am using the name
.rsrc
to refer to the file. One way to edit resources in the file or to add new resources to the file would be to use DeRez to decompile the file into a Rez source file with a command along the lines of
-useDF MyGreatProject.rsrc Carbon.r > MyGreatProject.r
. (As a side note, when using the DeRez or Rez tools, it would hopefully be permissible to refer to an Apple-supplied Rez type declaration file such as
.r
in order to make the Rez source file contents easier to understand. The DeRez man page talks about the function of type declaration files. Also, I hope this command line example does not implicate any copyrights regarding the DeRez man page or the Rez man page.) After that step, it would be possible to add or edit or remove resources by editing the
.r
Rez source file. After that, it would be possible to regenerate the
.rsrc
file by using a command along the lines of
-useDF Carbon.r MyGreatProject.r -o MyGreatProject.rsrc
. (Once again, I hope this command example does not pose any copyright issues regarding the DeRez man page or the Rez man page.)
Richard (19 rep)
Jul 18, 2022, 01:46 AM • Last activity: Aug 1, 2025, 08:10 PM
12 votes
5 answers
2736 views
networksetup -getairportnetwork return You are not associated with an AirPort network
I’m trying to retrieve the name of my Wi-Fi network via the terminal, but I’m encountering some issues. I tried with the command: ```sh /System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport -s ``` However, it returns the following warning: ```sh WARNING: The airpo...
I’m trying to retrieve the name of my Wi-Fi network via the terminal, but I’m encountering some issues. I tried with the command:
/System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport -s
However, it returns the following warning:
WARNING: The airport command line tool is deprecated and will be removed in a future release.
For diagnosing Wi-Fi related issues, use the Wireless Diagnostics app or the wdutil command line tool.
I also tried:
networksetup -getairportnetwork en0
But it returns:
You are not associated with an AirPort network.
Even though I am connected to Wi-Fi. I have tried disconnecting and reconnecting, as well as deleting the following .plist files in /Library/Preferences/SystemConfiguration/:
com.apple.airport.preferences.plist
com.apple.network.identification.plist
com.apple.wifi.message-tracer.plist
NetworkInterfaces.plist
preferences.plist
Despite these efforts, I still have not resolved the issue. I **DON'T** want to use wdutil since it requires the sudo password. Is there any way to fix the problem with networksetup, or is there an alternative method to retrieve the Wi-Fi name? Specifications: macOS Sequoia 15.0 Apple Silicon M3 Pro **UPDATE:** Today I reset my mac to the factory settings and the system installed Sonoma as the default OS. I have tried the terminal command networksetup and it works fine. After updating again to Sequoia the problem appears again so I think the problem is directly related to this new update. Unfortunately, I can't find any info about deprecation or warnings on the man.
Piero (270 rep)
Sep 16, 2024, 09:14 PM • Last activity: Aug 1, 2025, 02:18 AM
3 votes
2 answers
444 views
Is there a tool (built-in or not) to parse `launchctl list` output to get one string?
I want to run a script based on one line in `launchctl list` output. I know there are ways to simplify this output using `awk` `sed` `grep` etc. The question is, is there a native or non-native tool for parsing this output? (It would be helpful if I just knew the name of the output format so I could...
I want to run a script based on one line in launchctl list output. I know there are ways to simplify this output using awk sed grep etc. The question is, is there a native or non-native tool for parsing this output? (It would be helpful if I just knew the name of the output format so I could do a search for that) launchctl list outputs in this format:
% sudo launchctl list com.privateinternetaccess.vpn.daemon 
Password:
{
	"LimitLoadToSessionType" = "System";
	"Label" = "com.privateinternetaccess.vpn.daemon";
	"OnDemand" = false;
	"LastExitStatus" = 0;
	"PID" = 35114;
	"Program" = "/Applications/Private Internet Access.app/Contents/MacOS/pia-daemon";
	"ProgramArguments" = (
		"/Applications/Private Internet Access.app/Contents/MacOS/pia-daemon";
	);
};
Essentially this is a semi-colon delimited list inside of curly brackets - sorry don't know the name of this output format. Right now I am getting by with these commands to get the PID, but as stated I would like to use tools specifically for this output format if they exist.
% sudo launchctl list com.privateinternetaccess.vpn.daemon  | grep PID | egrep -o  -e '[0-9]{1,}'
35114
My intention is to run a script based on whether this daemon is currently active or not. My initial thought was to get the PID and use that to determine if it was running as I understand a running daemon has a PID and otherwise it does not. Using an if...fi statement should do the trick.
John (1248 rep)
Dec 21, 2021, 09:25 PM • Last activity: Jul 31, 2025, 10:07 AM
0 votes
3 answers
526 views
Keyboard shortcut (or automator app) to open currently open finder window?
I have a Stream Deck and I am hoping I can make a button I can press that will activate finder and move me to a currently open finder window - just as if I clicked on Finder on the Dock. (I can do this for every other app by just launching the app) I figured out how to "launch" finder by launching t...
I have a Stream Deck and I am hoping I can make a button I can press that will activate finder and move me to a currently open finder window - just as if I clicked on Finder on the Dock. (I can do this for every other app by just launching the app) I figured out how to "launch" finder by launching the Finder app tucked away in the System folder, but it doesn't quite do what I want (see below.) I've gotten very close from these other articles: https://apple.stackexchange.com/questions/114933/is-there-a-keyboard-shortcut-to-bring-up-finder https://apple.stackexchange.com/questions/322902/how-to-automate-right-clicking-finders-dock-icon-and-choosing-action But they all do the same thing as > open -a Finder in terminal——they make Finder active, but *if I have a finder window open on another monitor in full screen* it does not move to it, it only shows Finder in the menu bar. I can't seem to find a way emulate the exact action of clicking the icon in the dock, which *does indeed* jump to the correct "spaces desktop" (full screen Finder window) on another monitor, whether via keyboard shortcut, shortcuts app, stream deck's app, automator, AppleScript, or terminal command - however I am by no means an expert in automator, Shortcuts, AppleScript, or terminal. I tried "watch me do" in automator, and it'd work if I didn't hide my dock, but I do. :/
Dusey (21 rep)
Sep 12, 2022, 09:54 PM • Last activity: Jul 29, 2025, 02:10 PM
2 votes
3 answers
2338 views
How to fix locate.updatedb not respecting directory excluded from /etc/locate.rc?
I wanted to exclude some directories from the results of `/usr/libexec/locate.updatedb` by editing `/etc/locate.rc`. Unfortunately if I edit `locate.rc` `locate.updatedb` runs forever and does not actually terminate -- I have to kill it, and then the database for locate is an empty file. Any ideas o...
I wanted to exclude some directories from the results of /usr/libexec/locate.updatedb by editing /etc/locate.rc. Unfortunately if I edit locate.rc locate.updatedb runs forever and does not actually terminate -- I have to kill it, and then the database for locate is an empty file. Any ideas on why locate.rc is not respected? I'm on ML (OS X 10.8), using bash from Macports (bash 4.2.37(2)-release), and my locate.rc reads: # # /etc/locate.rc - command script for updatedb(8) # # $FreeBSD: src/usr.bin/locate/locate/locate.rc,v 1.9 2005/08/22 08:22:48 cperciva Exp $ # # All commented values are the defaults # # temp directory #TMPDIR="/tmp" # the actual database #FCODES="/var/db/locate.database" # directories to be put in the database #SEARCHPATHS="/" # directories unwanted in output PRUNEPATHS="/tmp /var/tmp /Users/me/.vim /Users/me/.cups /Users/me/tmp" # filesystems allowed. Beware: a non-listed filesystem will be pruned # and if the SEARCHPATHS starts in such a filesystem locate will build # an empty database. # # be careful if you add 'nfs' #FILESYSTEMS="hfs ufs"
user1256923 (3642 rep)
Aug 10, 2012, 03:28 PM • Last activity: Jul 28, 2025, 02:35 PM
0 votes
2 answers
4509 views
Use "startosinstall" to install macOS Catalina on External Drive
I want to use "startosinstall" so that I can install macOS Catalina onto an external hard drive in order to preload MacOS onto multiple SSD's quickly. I've researched into this and have found websites such as [Erase All Contents And Settings - erase and reinstall macOS in situ](https://grahamrpugh.c...
I want to use "startosinstall" so that I can install macOS Catalina onto an external hard drive in order to preload MacOS onto multiple SSD's quickly. I've researched into this and have found websites such as [Erase All Contents And Settings - erase and reinstall macOS in situ](https://grahamrpugh.com/2018/03/26/reinstall-macos-from-system-volume.html) which suggest using: /Applications/Install\ macOS\ Catalina.app/Contents/Resources/startosinstall \ --applicationpath /Applications/Install\ macOS\ Catalina.app \ --agreetolicense --nointeraction --volume /Volumes/External\ Macintosh\ HD I've tried running the above but have had no success and always find that I get this returned:
Usage: startosinstall

Arguments
--applicationpath, a path to copy of the OS installer application to start the install with.
--license, prints the user license agreement only.
--agreetolicense, agree to license the license you printed with --license.
--rebootdelay, how long to delay the reboot at the end of preparing. This delay is in seconds and has a maximum of 300 (5 minutes).
--pidtosignal, Specify a PID to which to send SIGUSR1 upon completion of the prepare phase. To bypass "rebootdelay" send SIGUSR1 back to startosinstall.
--converttoapfs, specify either YES or NO on if you wish to convert to APFS.
--installpackage, the path of a package (built with productbuild(1)) to install after the OS installation is complete; this option can be specified multiple times.
--eraseinstall, Erase all volumes and install to a new one. Optionally specify the name of the new volume with --newvolumename.
--newvolumename, the name of the volume to be created with --eraseinstall.
--usage, prints this message.

Example: startosinstall --converttoapfs YES
but can't seem to actually get anything to run. If anyone could provide me with some working code or show me how to solve this problem, I would be eternally grateful. Thanks for your help
Major Anarchy (31 rep)
Feb 16, 2021, 09:28 PM • Last activity: Jul 28, 2025, 07:06 AM
1 votes
0 answers
17 views
How to get/display real volume level of external monitor (in SketchyBar, shell script) on macOS?
I'm trying to display the volume icon and percentage of my external monitor (Dell U4025QW) audio output in SketchyBar on my MacBook Pro (M1). The goal is to show accurate volume and mute status in the bar. What I want to achieve: - Show current volume % and mute icon for my external monitor in Sketc...
I'm trying to display the volume icon and percentage of my external monitor (Dell U4025QW) audio output in SketchyBar on my MacBook Pro (M1). The goal is to show accurate volume and mute status in the bar. What I want to achieve: - Show current volume % and mute icon for my external monitor in SketchyBar. - Have volume update live as it changes. - Fall back gracefully when using the built-in display (i.e. display volume of built-in speakers). I'm using the following snippet in my SketchyBar plugin:
VOLUME=$(osascript -e "output volume of (get volume settings)")
MUTED=$(osascript -e "output muted of (get volume settings)")

source "$CONFIG_DIR/env.sh"
source "$CONFIG_DIR/icons.sh"

if [ "$MUTED" != "false" ]; then
    ICON="${ICONS_VOLUME}"
    VOLUME=0
else
    case ${VOLUME} in
        100) ICON="${ICONS_VOLUME}" ;;
        [5-9]*) ICON="${ICONS_VOLUME}" ;;
        [0-9]*) ICON="${ICONS_VOLUME}" ;;
        *) ICON="${ICONS_VOLUME}" ;;
    esac
fi

sketchybar -m \
    --set "$NAME" icon=$ICON \
    --set "$NAME" label="$VOLUME%"
When using the built-in MacBook Pro display, this works perfectly. When using the external Dell monitor, osascript always returns missing value for volume or 0, despite the volume HUD showing the correct volume and the keyboard volume keys working. From research and testing, it seems that: - External monitors using Thunderbolt/USB audio output often do not expose their volume controls via macOS scripting APIs (like AppleScript). - macOS seems to "fake" or cache the volume changes for these devices in the UI but does not expose the actual volume programmatically. - The mute status is exposed and scriptable, but volume percentage is not. Is there any known way, tool, or API to programmatically get the real volume level of an external Thunderbolt or USB audio device (such as a monitor) on macOS?
Jusi (161 rep)
Jul 26, 2025, 01:13 PM • Last activity: Jul 26, 2025, 05:49 PM
0 votes
1 answers
46 views
Show whole contents of a folder
When viewing `~/Library/Containers` not all `com.Foo.Bar/` folders are visible. They can be accessed using the terminal but is there a way to make them visible in the viewer as well? Why are some folders hidden like this? Edit: `ls -delO@` results Visible folder: ``` com.apple.containermanager.ident...
When viewing ~/Library/Containers not all com.Foo.Bar/ folders are visible. They can be accessed using the terminal but is there a way to make them visible in the viewer as well? Why are some folders hidden like this? Edit: ls -delO@ results Visible folder:
com.apple.containermanager.identifier	 18
	com.apple.containermanager.schema-version	  2
	com.apple.containermanager.uuid	 36
Invisible folder:
com.apple.FinderInfo	 32
	com.apple.containermanager.identifier	 25
	com.apple.containermanager.schema-version	  2
	com.apple.containermanager.uuid	 36
	com.apple.data-container-personality	260056
dubious (103 rep)
Jul 26, 2025, 02:34 PM • Last activity: Jul 26, 2025, 04:52 PM
39 votes
3 answers
73238 views
Using bash/terminal to get number of battery recharge cycles
I would like to get the number of recharge cycles using bash (terminal commands). I understand the following command will display all of the battery data, but I want the cycle count on its own ioreg -l -w0 |grep Capacity I use the following command to get the battery percentage, so I imagine it can...
I would like to get the number of recharge cycles using bash (terminal commands). I understand the following command will display all of the battery data, but I want the cycle count on its own ioreg -l -w0 |grep Capacity I use the following command to get the battery percentage, so I imagine it can be modified slightly to get the cycle count instead; ioreg -l | awk '$3~/Capacity/{c[$3]=$5}END{OFMT="%.3f";max=c["\"MaxCapacity\""];print(max>0?100*c["\"CurrentCapacity\""]/max:"?")}' I'm new to bash, so I'm not completely sure how that code works, or how I'd adapt it for my needs. Any help would be appreciated. Thanks.
Joseph (1251 rep)
Jan 8, 2014, 03:31 PM • Last activity: Jul 25, 2025, 11:23 AM
6 votes
1 answers
1320 views
Why does “brew search” for “peertube” match with “freetube”? How does the search work?
Why does `brew search` for *peertube* match with *freetube*? How does the search work? brew search peertube ==> Casks freetube brew info --cask freetube ==> freetube: 0.23.5 https://freetubeapp.io/ Not installed From: https://github.com/Homebrew/homebrew-cask/blob/HEAD/Casks/f/freetube.rb ==> Name F...
Why does brew search for *peertube* match with *freetube*? How does the search work? brew search peertube ==> Casks freetube brew info --cask freetube ==> freetube: 0.23.5 https://freetubeapp.io/ Not installed From: https://github.com/Homebrew/homebrew-cask/blob/HEAD/Casks/f/freetube.rb ==> Name FreeTube ==> Description YouTube player focusing on privacy ==> Artifacts FreeTube.app (App)
Salinas (69 rep)
Jul 23, 2025, 07:36 AM • Last activity: Jul 24, 2025, 08:57 PM
6 votes
4 answers
3660 views
How can I see how long my computer has been active (as in not idle)
I've seen a variety of solutions to check how long my machine has been idle, and I know I can check how long since last reboot with `uptime`, but I'm curious if there's a way to see how long since my computer was last idle. Maybe since the last time the power save settings kicked in, or last time si...
I've seen a variety of solutions to check how long my machine has been idle, and I know I can check how long since last reboot with uptime, but I'm curious if there's a way to see how long since my computer was last idle. Maybe since the last time the power save settings kicked in, or last time since the screensaver turned on / monitor turned off, etc? I'm fine using an applescript or shell command to determine this, if those are the best solutions.
hookedonwinter (161 rep)
Jul 18, 2012, 02:52 PM • Last activity: Jul 24, 2025, 01:06 PM
1 votes
1 answers
560 views
How to read a nested key with 'defaults'
I can read preferences from a domain, and I can read a single key deep, for example: ``` defaults read com.apple.Terminal "Window Settings" ``` However, I cannot dereference a key deeper than depth=1 with the `defaults` command. For example, I want to read the `Basic` under `Window Settings`. I woul...
I can read preferences from a domain, and I can read a single key deep, for example:
defaults read com.apple.Terminal "Window Settings"
However, I cannot dereference a key deeper than depth=1 with the defaults command. For example, I want to read the Basic under Window Settings. I would expect to be able to do something like this:
defaults read com.apple.Terminal "Window Settings" Basic
It looks like defaults only works with a fixed depth:
The domain/default pair of (com.apple.Terminal, Basic) does not exist
But surely I can use it to manipulate dictionaries? What utilities are available?
Ari Sweedler (173 rep)
May 29, 2024, 06:45 AM • Last activity: Jul 23, 2025, 10:03 AM
1 votes
1 answers
145 views
How to Permanently Remove Old iCloud App Folders from Mobile Documents on macOS?
On my MacBook, when I navigate to the iCloud directory via Terminal with the command: ``` cd ~/Library/Mobile\ Documents ``` I see multiple folders related to old iCloud-connected apps that I no longer use or have installed. Most of these folders are empty (0B in size), but they persist in the direc...
On my MacBook, when I navigate to the iCloud directory via Terminal with the command:
cd ~/Library/Mobile\ Documents
I see multiple folders related to old iCloud-connected apps that I no longer use or have installed. Most of these folders are empty (0B in size), but they persist in the directory. For example:
ls
27N4MQEA55~pro~writer
3L68KQB4HG~com~readdle~CommonDocuments
57T9237FN3~net~whatsapp~WhatsApp
5U8NS4GX82~com~dayoneapp~dayone
...
iCloud~dk~simonbs~Scriptable
iCloud~fm~overcast~overcast
I’ve attempted to delete them using the following commands:
sudo rm -rf [file/folder_name]
or
find . -type f -size 0 -delete
However, the folders either persist or reappear immediately upon running ls again. Additionally, when I check System Settings > Apple ID > iCloud > “Show All” (linked apps), these apps do not appear in the list of connected services. Apps such as Pro Writer, Day One, Scriptable, and Overcast, which I have no current association with, still appear in the Mobile Documents folder. My goal: I want to clean up the Mobile Documents directory to make it easier to navigate and manage files for currently used apps. Questions: 1. How can I permanently remove these obsolete folders? 2. Is there a way to force a sync reset or clean stale app references from iCloud storage? 3. Could these folders be reappearing due to a macOS or iCloud background process? Any insights or solutions would be greatly appreciated.
tedioustortoise (144 rep)
Jan 24, 2025, 05:26 PM • Last activity: Jul 19, 2025, 05:22 PM
3 votes
1 answers
672 views
Every time I open terminal I realize that zsh_history Symbolic Link has been deleted
Hey Guys I'm using zsh and moved my `.zshrc`,`.zsh_history` and `.oh-my-zsh` to the dropbox folder to back up them and use them everywhere, and I created a Symbolic Link to them to use them but every time I create a Symbolic Link for`.zsh_history` I see that has been created but every time that I op...
Hey Guys I'm using zsh and moved my .zshrc,.zsh_history and .oh-my-zsh to the dropbox folder to back up them and use them everywhere, and I created a Symbolic Link to them to use them but every time I create a Symbolic Link for.zsh_history I see that has been created but every time that I open the terminal and check home directory I see that .zsh_history file has no Symbolic Link. and I use this command: mv .zsh_history ~/Dropbox/ZSH_Backup/ && rm -f .zsh_history && ln -s ~/Dropbox/ZSH_Backup/.zsh_history ~ So what is the problem?
farshadb (133 rep)
Jul 16, 2022, 02:40 PM • Last activity: Jul 19, 2025, 12:17 PM
8 votes
4 answers
11675 views
Convert SVG to PDF using command line in Mac OSX
I want to convert a SVG file to PDF from the command line on Mac OSX. Is there any way to do this?
I want to convert a SVG file to PDF from the command line on Mac OSX. Is there any way to do this?
melqkiades (339 rep)
Mar 10, 2022, 02:24 PM • Last activity: Jul 17, 2025, 04:00 AM
0 votes
1 answers
412 views
I accidentally clicked deny on port open prompt
I'm developing an app that binds to a local address, on a random port when it runs. I used to get a prompt to allow connections but I accidentally pressed Enter key and I think I denied the terminal app. Where should I look to fix this?
I'm developing an app that binds to a local address, on a random port when it runs. I used to get a prompt to allow connections but I accidentally pressed Enter key and I think I denied the terminal app. Where should I look to fix this?
Romeo Mihalcea (169 rep)
Jun 1, 2022, 11:32 PM • Last activity: Jul 16, 2025, 06:06 PM
Showing page 1 of 20 total questions