Shell Script to Rename Folder and Create New Folder
Hello all. I’m looking for a little guidance for an idea I have that is pretty straightforward I think but I’m not overly familiar with scripting.
I’m thinking of a shell script (I can use launchd to run on a monthly basis) that takes folder
`/Users/nathan/Kometa/config/assets`, rename it to `/Users/nathan/Kometa/config/assets2` (leaving contents intact), then recreates the empty original assets directory. How would I go about that?
What does “monthly” look like in terms of a launchd calendar interval?
Thanks!
Mac mini, macOS 14.7