Jump to content

Alfred with Carbon Copy Cloner (CCC).

Recommended Posts



I am using Carbon Copy Cloner to create backups via predefined tasks. These tasks define the source, destination, backup frequency etc. Can someone help me with a workflow that can be triggered using a keyword for alfred to return all Carbon Copy Cloner tasks. I can then select form the list and ccc will trigger/initiate the corresponding task.


FWIW, Carbon Copy Cloner has a CLI utility for eg.: running 'ccc -p' in iterm gives me the tasks list and the schedule. My main challenge is returning the task list to alfred to then select from the list. I tried using the script filter but don't know how to create the results JSON. Any help would be much appreciated. Thank you in advance.

Link to post

@optimus1509 Rather than just bump the thread every few days, share what you have so far for the script filter, as this will be a better starting point for someone to point you in the right direction.


As there may not be many CCC users on the forum, share as much information as you can. For example, what's the output of the command "ccc -p" in Terminal, etc...


The more information you provide, and the more legwork you do towards getting the CCC part of your workflow working, the easier it'll be for others to help you out :)



Link to post
  • 2 weeks later...

@VeroThe script filter i have simply runs this:


/Applications/Carbon Copy Cloner.app/Contents/MacOS/ccc" -i | awk -F"|" '{print $1}'


In the terminal, the output of the above is simply a newline-separated list of just the task names in CCC as shown below.


Task 1

Task 2



Task n


Unfortuntely, i am not well versed with python, JSON etc. so i don't know how to pass the results back to alfred. Any help is appreciated, thank you.

Edited by optimus1509
Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...