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...
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...
"I'm trying to optimize game performance on my Mac and I'm curious about combining two different performance-boosting methods:
1. macOS Game Mode: I know this built-in feature prioritizes game performance when running full-screen. I think it allocates more system resources to the game, reduces...
I remember a long time ago, I could tell Safari to make a folder for every day of download. This disappeared a long time ago until now..! I was tired the pile up in the download folder and because I cant decide always, do I want to delete or move this download, I wanted them to be sorted by...
I have a lazy man's timer, works fine but I need to restart it.
I've done extensive programming on other UNIX/LINUX OS's
but hardly any on Mac even though I've been using Macs for years.
Normally I wouldn't mind doing extensive research and teaching
myself but I don't have time, working on...
Hi,
I am trying to set up Macs for my school on Monterey 12.6 and ran into loads of crashing issues regarding Google Chrome and Garageband on Guest (but never on local), plus couldn't get a launch script on Guest to accept default browser.
Is there a way I can create a local account...
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...
Hey all,
Complete noob to AppleScript here with a rather complex one:
I would like automate a script that can do the following:
1. After launching, waits for 61 minutes without doing anything, then:
2. Opens Safari with 16 tabs (and 16 separate URLS)
3. Clicks a “Roll!” button on each of the...
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...
Hello.
I've searched high and low on the internet to find an RSS feed script that can help me show the new shows that are being aired via the followshows.com website. I've found a bunch, but none of them work the way I would like them to. What I'm looking for is a script that will show the...
I was hoping someone could guide me in creating a tiny bit of code (AppleScript, cron job, I'm not really sure) that would run automatically on the first of each month and download the contents of a few websites for archival purposes.
It wouldn't need to go any deeper than just having an...
Hello,
In Forklift there is an option Tools, which allows to make quick actions.
But i don't really get how to create one.
Fir example a simple one:
cp $SOURCE_SELECTION_NAMES $TARGET_PATH
/bin/bash cp $SOURCE_SELECTION_NAMES $TARGET_PATH
/bin/bash/cp $SOURCE_SELECTION_NAMES $TARGET_PATH
i...
I hope someone can help me out with this.
I have set up my photo library on an external drive that syncs to iCloud when I open the Photos app. Often times it doesn't start syncing by itself, so I found the very helpful tip to close Photos, quit certain processes in the Activity Monitor (see...
Some of you may still remember my little sleep/mute/shutdown/... timer for Mac "iWannaSleep", which I wrote and released topping 16 years ago. Much to my surprise, it was included on many Shareware-CDs of Mac magazines from all around the globe (hey, the internet was not available / affordable...
Hi,
In Mojave I ran simple bash scripts by just writing them in text and saving as script.sh and then running from terminal.
In principle the same scripts do work in zsh in Catalina. But now in Catalina the same scripts often cause errors by not loading dyld libraries.
I can fix the error by...
Hi, I have proven to myself again that I am not a programmer. I have found numerous posts with similar questions but I can’t seem to wrap my head around it all to make anything fit for my needs.
Thank you in advance!
I am trying to rename groups of PDFs from a .csv file.
Working on a MacBook...
I have a folder thats very active in iCloud, consistently removing/renaming/adding files. It pains me to open illustrator or Photoshop and find that the file I'm hoping to get to work on has the little cloud icon that means it needs to be downloaded first. For a couple jpegs no drama really -...
Hello,
I have been using a very basic Automator script that auto move files and folders on the Desktop to another place in my Mac (under my main user account, nothing fancy).
Yet even though the script is quite simple, i'm having problem with Automator ever since I installed the beta. I was...
Hi
I need a quick solution to a problem. We have over 15000 images that need renaming. Is there a simple way to find text in a file name (from a cvs file) and replace text in a file name (again from a csv file)??
Eg. File Name - AA021 asphalt/fuchsia FRONT.jpg
We have a CSV of full names...
Hey everyone,
It would be useful and quicker to me if I was able to launch certain apps like Firefox or Spotify (the actual apps) while in Dashboard view mode, but I can’t seem to find a widget that allows me to do that.
The alternative I thought of was to create an alias of an app, but I...