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

darngooddesign

macrumors P6
Original poster
Jul 4, 2007
18,362
10,114
Atlanta, GA
I made this for a post in a different section, but if you would like to sync your iPhone without backing up each time run this AppleScript; it works by temporarily stripping write permissions from the folder that holds the iOS backups until that step is complete. It still needs refining to support wifi sync, multiple devices, and close/quit Terminal.

1. Paste code in-between the ***s in Script Editor
2. Change DeviceName to whatever you call your phone
3. Export it as an application so you can just double-click to execute.
4. You'll need to grant the exported AppleScript application it some permissions.

tell application "Terminal"
activate
do script "chmod 000 ~/Library/Application' 'Support/MobileSync/Backup/"
display notification "Permissions changed"
tell application "Finder" to open ("/" as POSIX file)
tell application "System Events" to tell outline 1 of scroll area 1 of splitter group 1 of window 1 of application process "Finder"
set theElements to first UI element of every row whose name is "DeviceName"
repeat with e in theElements
try
if name of e is "DeviceName" then
tell e to perform action "AXOpen"
exit repeat
end if
end try
end repeat
end tell
tell application "System Events" to tell application process "Finder"
repeat until button "Sync" of splitter group 1 of splitter group 1 of window "DeviceName" exists
end repeat
click button "Sync" of splitter group 1 of splitter group 1 of window "DeviceName"
end tell
delay 30
tell application "Terminal"
do script "chmod 755 ~/Library/Application' 'Support/MobileSync/Backup/"
display notification "Permissions restored"
end tell
end tell
 

darngooddesign

macrumors P6
Original poster
Jul 4, 2007
18,362
10,114
Atlanta, GA
Why are backups a problem, again?

Not being able to decide when you backup your phone can be a problem.

If you just want to quickly sync something before walking away from your computer, having to wait an extra couple of minutes while your phone conducts a back-up is annoying. Especially if you recently did a backup.
 
Last edited:
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.