Root to read, for example /etc/master.passwd). System files that I would like to be backed up (i.e. The big problem I’m stuck with at this point is giving read permissions for In the background which may be giving me intermittent errors that are tough toĭebug. I leave Script Editor.app running while I experiment, it may be auto-saving I think this may be one of the confounding factors in my testing if This includes just the timestampĬhanging due to saving the application, even if none of the code hasĬhanged. Restore FDA access to get it working again. Works (permissions errors), has to be run by double clicking the icon or openįinally, if the application changes at all, you have to remove and then Timestamp changing, instead of having to be in the /Applications folder – IĬurrently have an application on my Desktop that seems to be working fine.]Īlso, running from the built-in “Run” button in Script Editor ( ▶ ) never [EDIT: I wonder if this may actually be due to a “last modified” Working again – it often fails the first time I try to run it, then worksĪfter that. To reset the permissions, then re-add to make the /Applications one start Working (permissions error), regardless of which Test.app I open. If I thenĭuplicate a copy to ~/Desktop/Test.app, it works the first time, then stops If I save this to /Applications/Test.app and add to FDA, it works. On run set whoami to ( do shell script "whoami" ) set ls to ( do shell script "/bin/ls /Users/me/Library/Mail" ) display dialog whoami & return & ls end run (does not seem to inherit the FDA access): Unfortunately, running the embedded script directly for some reason won’t work $ # Add to FDA # $ open /Applications/Runrestic.app $ du -sh /tmp/restic & sleep 5 & du -sh /tmp/restic Moving app to destination '/var/folders/xv/gqk_1btj70v8gfz8xb0ydw940000gn/T/tmp.xJ0rXd0iYc/Runrestic.app' $RESTIC backup ~/Library/Mail &> /tmp/restic/log.txtĬreating application bundle folder hierarchy Provides an easy CLI that does the job in a single command: GUI, or open /path/to/Restic.app but not by directly using theĮxecutable stored in e.g.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |