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

terminal

  1. RazorBackXX

    Understanding Folder Size Differences Between rsync Zsh & Finder on macOS

    Hey My Friends, I’m working on a Zsh-based script in the macOS terminal, and I’ve hit a roadblock while trying to obtain precise file sizes for folders. I’m seeing discrepancies between the size reported in Finder and the size calculated via terminal commands, and this is critical for my app...
  2. H

    Random file selector app/terminal script

    Hi, I've done a fair bit of digging but have only found 'solutions' that haven't worked for me. I'm after an app or terminal script that can randomly select X amount of files from within many subfolders within a main folder, and copy them to my desktop. Has anybody had a experience with...
  3. rhett7660

    Unable to connect to Synology NAS via Ethernet, but can over WIFI

    Hello, So I have an issue, and I don't know how to fix it. I have two Mac's running the same version of OS, OSX 14.6.1. I have three Synology NAS's (SN) on my LAN, all running the same DSM. I can connect to all three SN's from Mac "A", however I can only connect to all three from Mac "B" if...
  4. anjanesh

    iPad Pro 13" iPad PRO M4 now good enough for atleast 75% dev work ?

    What's the deal with 13" iPad PRO M4 ? Can I use it, not as a replacement for my MacBook Air M2, but as to complement my dev work when traveling out of town since I don't carry my MBA for weekend travels. I use the following on my M2 almost on a daily basis : Terminal, Warp, PhpStorm, PyCharm...
  5. Q

    Deleting file on directory /usr/share/file/magic

    Hi, I want to delete VMware and Octave files on /usr/share/file/magic. However, even disabling SIP and simultaneously activating Root is not possible to delete VMware and Octave files on that directory. Is because de volume is read-only? Anyone knows any workaround to delete it? Thanks
  6. RazorBackXX

    Terminal Command For Quickview Loop?

    is there a terminal command to loop every single video that I press spacebar on to open in quicklook? I dont want to download FFMEG, I know the Mac can do things on its own for example. I used chatgtp to write me a code to separate all my videos in landscape & portrait since Mac doesn't have a...
  7. A

    How would I send the following TCP request via terminal?

    I’m trying to send a TCP request to a device via the terminal in MacOS but can’t figure out how to do so. Based on my research, it appears the NC command should be able to handle TCP requests. The command I’m trying to send follows. IP: 192.168.1.104 Port: 4998 Body...
  8. T

    Adjusting Color Filter Intensity via Terminal or Shortcuts on macOS

    Hi everyone, I'm looking to adjust the intensity of color filters on my Mac more precisely than what's offered in System Preferences (Accessibility->Display->Color Filters near the bottom), preferably using the Terminal or Shortcuts app. I aim to automate or quickly change settings for...
  9. MacProRumours

    Stationery Pad ~ how to *list* all such files previously so marked?

    In the Finder (Info) I've checked a large number of files to be Stationery Pads (template-type files). Stationery Pad files, that I'd now like to consider together in a single Finder Window. Under the pop-up menu Kind, "Other" is listed at the bottom. One of these (as in above image) is...
  10. RazorBackXX

    How To Delete A Home Folder With Terminal or Other Option?

    hey my friends, I recently made a account for my girlfriend so she could do some organizing. (using a tiny SE wasn't cutting it) & after she was finished I deleted her account. I made sure to select the (Delete home folder options as well) & her folder is still there. I have tried deleting it &...
  11. Alvin777

    Any Terminal Trick or 3rd Party Trick to Make Time Machine See a Networked Drive as an External Drive

    Hi Mac friends. I'd like to temporarily make an unused networked 2TB drive from someone else's PC (I have permission) as the Time Machine backup (I'm just backing up 1TB maximum but they say it' best to have double for allowance) while budget is allocated for softwares like SuperDuper! or...
  12. haralds

    Command to run Sonoma Installer from terminal

    I would like to ssh into my desktop and upgrade with the Sonoma installer in the /Applications folder. Ideally this would be unattended. What is the command?
  13. B

    Can any tell me what this is

    Last login: Fri May 19 12:14:09 on ttys001 brandonwright@Brandons-Mini ~ % ifconfig lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384 options=1203<RXCSUM,TXCSUM,TXSTATUS,SW_TIMESTAMP> inet 127.0.0.1 netmask 0xff000000 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0...
  14. 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...
  15. 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
  16. 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...
  17. 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...
  18. 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...
  19. 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...
  20. 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...