Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

terminal

  1. Alvin777

    What's the 'createinstalmedia' Terminal Command for Sierra?

    Hello, I searched macOS Sierra's Terminal command to create a USB bootable installer but Apple's official Terminal command to create bootable macOS installer skips Sierra for some strange reason (after El Capitan, it skips to High Sierra- very strange, why'd Apple skip Sierra?) even though if...
  2. J

    How to use CP command copy specific dates

    I am copying data from a Mac Mini to Windows Server, and I am using CP code in terminal I am on MacOSX 10.10 and 10.8, what is the syntax to copy either modified files only or files of a specific date. I rsync exists but I need to CP command, if any one can advise, pretty please
  3. L

    Is it possible to stop Terminal from running a specific command on MacOS?

    I'm looking for a way to stop a specific command from being ran on MacOS's terminal, or if that's not possible lock it (either with a different password than the admin/user password, or time lock it) before running - is that possible? Basically looking to block social media from my life, but...
  4. rjalex

    Resolved Change "Open in Terminal" right click to iTerm instead of Apple's terminal

    I selected Finder->View-Show Path Bar which will add the whole path icons on the bottom of the Finder window. Right click on any of those folder and choose "Open in Terminal". This terminal will be Apple's default terminal, while I vastly prefer using iTerm. Is it possible to change the "Open...
  5. Add-Delay

    Copying from external hdd super slow. rsync or better command line option?

    I've got an external portable HDD that had my iTunes library (amongst other things). I was in the process of migrating it over to a newer external SSD when my Mac crashed. Since then, something has happened to the HDD that has made is suuuuuuuuuper slow. All the data appears to still be there...
  6. B

    iCloud Error -36 on icloud drive files, dot_clean not working

    Hi y’all, I’m having this incredibly frustrating issue with my mac that I just cant seem to figure out. I have an m1 2020 Mac mini running Monterey 12.6.2. I have iCloud syncing my mac mini and my macbook; specifically the Documents, Desktop and Application folders. As of a few months ago, I...
  7. PowerPCFan

    Helpful Terminal Command

    I bet most of you knew this but if you didn't, typing this turns off indexing: sudo mdutil -i off /Volumes/drivename (replace drivename with your hard drive name, or drag hard drive icon to Terminal) It can be really helpful if your PPC machine is lagging after installing a new OS, or after...
  8. Alvin777

    Code to Display the Screen Orientation Again on Display Preferences?

    Hello Apple friends. It's sad the screen orientation was taken away for the main display (it only appears if you plug in a second monitor) in Monterey but is there a Terminal code to bring it back in the Display Preferences so there's no need to use the beta (will most likely have side-effects)...
  9. IDMah

    Nerdy fancy Terminal

    Is there a way to change the left Justification of the Terminal? So it isn't right up against the left edge. it just bugs me. Hahah!
  10. Alvin777

    Any Terminal Command to Cancel FileVault Encryption?

    Hello Apple friends. In the heat of the moment, at work (while there's discussion perhaps), I accidentally turned On FileVault encryption which is slowing things down and those who need to access my public files (Sharing thing) can't easily access my drive (Public folders) but I was actually...
  11. lowprofile

    Vim erroring out in MacOS Recovery

    After completing a clean install of Monterey on my MacBook Pro 2018, the vim editor in MacOS Recovery Terminal is no longer functioning properly. It will open the file after giving the error, but after pressing "i" to start editing, I get random letters all over the place. It's bizarre. Vim has...
  12. D

    macOS Restoring Bash and Python 2.7 on Monterey a good idea?

    Many years ago I taught myself some Bash and Python and wrote a couple of scripts which I still use all the time for work. So far this hasn't been a problem as I was still using Sierra on my old Mac. But now I just got a new Mac Studio running Monterey, which seems to have ditched both Bash and...
  13. Alvin777

    Where Can I Find all the Commands in Z Shell (Bash Upgrade Shell It Seems)?

    Hello Mac and Apple friends. Where can I find the complete manual for the Z Shell which seems to be a an upgrade shell of Bash. Is there a built-in manula inside the shell itself that I can type in macOS's Terminal? If so, what is the command? I've used sudo mount -t hfs /dev/disk2...
  14. D

    What is the best (most reliable) way to copy large amounts of files, Finder or the Terminal?

    I am planning to do a manual migration and will thusly have to transfer a lot of data. This may seem silly but is there a better way than just using the Finder? I remember using the Terminal a long time ago for something like this, but I've forgotten why I did that. Do some bash commands offer...
  15. GSWForever8

    Run python in terminal?

    How do you run python in macOS terminal?
  16. Alvin777

    Any Terminal Method to Bring AirPlay to Unsupported Macs?

    Hi. Is there any command that can be typed in Terminal (macOS Moneterey) to make AirPlay work with old Macs like the Late 2015 5K iMac and the iPhone 6s Plus (which has AirPlay I believe, coz' I see it in Settings)? Thank you. God bless, Revelation 21:4
  17. Oz.

    Terminal prompt colors changes when changing background color

    I set my own prompt colors but are not accurate, somehow the terminal background color influences this. It is possible to stop it? Thanks
  18. M

    macOS shell script check. A better way to execute the if statement and check for a condition

    I need to write a very simple shell script that will check if the system is configured to enforce multi-factor authentication. To verify that the system is configured to enforce multi-factor authentication, run the following commands: If the results do not show "enforceSmartCard=1", this is a...
  19. J

    macOS Commands Caching-Server

    Hi, I try to use to turn on the LogClientIdentity-Setting on macOS-Caching like https://support.apple.com/de-de/guide/mac-help/mchl91e7141a/mac Is that this command? $ sudo -u _assetcache defaults write /Library/Preferences/com.apple.AssetCache.plist LogClientIdentity -string true But it...
  20. D

    Can't get bluetooth dongle to 'stick' in Big Sur

    Hi there, I have a 2018 Mac Mini (i7, 16GB, 512GB SSD). The internal bluetooth is unusable to connect to my Apple trackpad (interference probably made worse by the large number of devices plugged in to all available ports). I've been happily using a BT dongle in one of the USB ports on my...