Replies: 5 comments 2 replies
-
Note that unless you export the path of the Keka binary, you should call it like this: /Applications/Keka.app/Contents/MacOS/Keka ... Your line: % /Applications/Keka.app/Contents/MacOS/Keka --ignore-file-access -cli tar -cf /Users/zero7404/Documents/iOS\ Archives/zero7404\ iphone\ archive.tar /Users/zero7404/Library/Application\ Support/MobileSync/Backup/00008110-000174E83682801E Obviously this is in case you have Keka in your Applications folder. Replace with your used folder if needed. |
Beta Was this translation helpful? Give feedback.
-
thank you for the advice aonez ... really appreciate it can i insert a line like this in crontab to have it create my tar every day at 11 am ?
Keka is already granted Full Disk Access, but it is not listed in Accessibility (control your computer). concern here is that when it's launched from crontab, it will run with the correct user privileges. |
Beta Was this translation helpful? Give feedback.
-
I'm not using |
Beta Was this translation helpful? Give feedback.
-
here is what i inserted in crontab:
it runs Keka, but this comes up, it doesn't appear to follow the tar command that's stated in the crontab line ... https://drive.google.com/file/d/1zzMDHHAq3KMHYPMYbxr7NIugu9dxIDPs/view?usp=sharing here is the dialog of the error that the keka progress bar shows:
|
Beta Was this translation helpful? Give feedback.
-
Sorry @zero7404 I did not noticed you're using |
Beta Was this translation helpful? Give feedback.
-
i have Keka and would like to use it in one of these 2 ways to automate my archives. i currently have automator workflows for my archive jobs but that uses the default apple archive utility, and i would like to end up with uncompressed tar archives.
for example, i want to archive my ios device backup from terminal:
% Keka --ignore-file-access -cli tar -cf /Users/zero7404/Documents/iOS\ Archives/zero7404\ iphone\ archive.tar /Users/zero7404/Library/Application\ Support/MobileSync/Backup/00008110-000174E83682801E
but terminal says:
zsh: command not found: Keka
i was hoping i could get this command into crontab, and i've tried the traditional method of creating a shell script (that works when run in terminal), for some reason when i add it in crontab, it will not run. i use full path names:
#!/bin/sh
export PATH=$PATH:/usr/bin
rm -rv /Users/zero7404/Documents/iOS\ Archives//zero7404\ iphone\ archive.tar
sleep 1s
tar -cvf /Users/zero7404/Documents/iOS\ Archives/zero7404\ iphone\ archive.tar /Users/zero7404/Library/Application\ Support/MobileSync/Backup/00008110-000174E83682801E/*
whether i can do something like this in automator or directly in crontab, i would be happy with either. if i create an app using automator, i insert it into crontab with the 'open -a' command and set my other parameters.
for example, my current crontab looks like this and these apps (created using automator workflows) execute fine at the designated times:
10 11 * * 1,3,5 open -a zero7404\ iphone\ archive.app
20 11 * * 1,3,5 open -a apple\ mail\ archive.app
30 11 * * 1,3,5 open -a apple\ emlx\ archive.app
if you would be able to assist me in any way I would greatly appreciate that.
Beta Was this translation helpful? Give feedback.
All reactions