Skip to main content
The 2024 Developer Survey results are live! See the results

New answers tagged

1 vote

How do I install handbrake cli?

As of 2024 (Sonoma) I didn't get the HandbrakeCLI utility after installing handbrake with: brew install handbrake But, the comment from @Nolan gave the hint, the binary is located in handbrake's ...
stwienert's user avatar
  • 111
2 votes

Unable to execute arara (a TeX automation tool) from the Terminal

There is no ../../texmf-dist/scripts/arara/ installed (or /usr/local/texlive/2024/texmf-dist/scripts/arara/ which is where the symlink points to), this seems to be an error in the ...
nohillside's user avatar
  • 102k
0 votes

How to remove a partition with terminal?

If you want to remove the partition and not create a new one for disk0 partition 4, here's the command: diskutil eraseVolume free free disk0s4 The "free free" instructs eraseVolume to ...
jsaintrocc's user avatar
3 votes

Is there a way to `measure_memory ./program` similar to how `time ./program` measures time?

/usr/bin/time -l <command> will print the rusage of the process and its children. getrusage() returns information describing the resources utilized by the current process, or all its terminated ...
grg's user avatar
  • 203k
0 votes

Search for keychain password via Terminal/shell?

First of all you need to specify in which keychain you want to search. Add (typically) this to the end of your command: /Users/d0G/Library/keychains/login.keychain-db
d-b's user avatar
  • 3,418
3 votes

macOS Shortcut to hide folder

Shortcut Input is not something that will coerce to file items, which is what Run Shell Script wants for its input. Since the input is also a list, the usual way to handle them is to step through the ...
red_menace's user avatar
  • 1,470
-3 votes

Match the Creation Date of 2 sets of files with same name

Just wanted to share that I am successfully using this code in Windows python (written with great annoyance and aid from ChatGPT). Note that pywin32 needs to be installed (I used PIP to do it). Here's ...
Dan T's user avatar
  • 1
1 vote

Can you access the list of network devices from the command line?

Sure, the tool is dns-sd It conducts service delivery using the multicast DNS (mDNS or Bonjour) protocol. To list all services, I start here. You’ll want to then change the query for AFP (_afp) or SMB ...
bmike's user avatar
  • 238k
0 votes

Case-insensitive ls sorting in Mac OSX

This thread contains some great info, here it is spelled out in one spot. Thanks to Dmitry and Spinup_A_Davis! I've noticed the cs_CZ.ISO8859-2 approach doesn't handle ch (ch,CH,cH,Ch) well. I have ...
user201320's user avatar
1 vote

What are the command line options for afconvert?

I've run into an important caveat with afconvert. the help text gives many options, for instance --bitrate. These options are codec dependent, and not all options work for all codecs. I haven't been ...
Dan Pritts's user avatar
3 votes

My terminal applications start bash, but no init files are getting sourced

With your configuration, only .bash_profile should be sourced. .profile is not sourced, if .bash_profile exists. .bashrc is not sourced, if the shell is a login shell. I suggest that you put your ...
user1934428's user avatar

Top 50 recent answers are included