Jump to content

optimus1509

Member
  • Posts

    20
  • Joined

  • Last visited

Posts posted by optimus1509

  1. Thanks for offering to help @deanishe much appreciated.

     

    The CCC command-line command to start a backup is - 

     

    "/Applications/Carbon Copy Cloner.app/Contents/MacOS/ccc" -s"Task Name"

     

    Above "Task Name" is one of many backup tasks configured in CCC5.

     

    "/Applications/Carbon Copy Cloner.app/Contents/MacOS/ccc" -i

     

    The output of the above is new-line separate tasks along with their status (pipe separated) as per below - 

     

    Task 1|stopped
    Task 2|stopped
    Task 3|stopped

     

    if a task is running there may be additional "|" separated statuses as per below - 

     

    Task 1|running|-1.000000|0|Testing write responsiveness of the destination...|

    Task 2|stopped
    Task 3|stopped

    Task 4|running|4.494382|0|Initializing file copier…|

     

    For more information please refer to this link. Thanks in advance.

  2. Thanks @deanishe I edited my post to include the correction.

     

    I couldn’t get this working as i am not well versed with how to create Alfred results from the output of  - 

     

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

     

    above gives the tasks list currently setup in CCC5. One task per line.

     

    Maybe @deanishecan help us with this? Thanks.

  3. Hi @vitor, I am trying use OneUpdater in the TimeZones workflow which is at Version 2.30 in the configuration, however OneUpdated re-downloads version 2.30 saying it's an update.

     

    This is my configuration of OneUpdater:

     

    readonly remote_info_plist='https://raw.githubusercontent.com/jaroslawhartman/TimeZones-Alfred/v2.30/source/info.plist'
    readonly workflow_url='jaroslawhartman/TimeZones-Alfred'
    readonly download_type='github_release'
    readonly frequency_check='0'

     

    Also, every time an update happens the OneUpdater Node within the TimeZones workflow is also deleted, is this by design?

     

    How can i correct the above 2 issues. I am linking to the correct plist file? This should be from the latest release in GitHub right?

     

    GitHub Link - https://github.com/jaroslawhartman/TimeZones-Alfred

  4. @Acidham For some reason this is no longer working when i moved to macOS Big Sur and reinstalled python 3.9. The workflow debugger gives the following - 

     

    ImportError: cannot import name 'readPlist' from 'plistlib' (/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/plistlib.py)

     

    Any suggestions please? Thanks

  5. @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.

  6. Hi,

     

    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.

  7. @Acidham @vitor Please excuse my lack of knowledge, but this is a little more complex than i thought it would be, passing the results of the SideNotes folders back to alfred etc are not my cup of tea. Any chance you can help with the exact workflow to be created? I am looking at typing a keyword--> alfred shows list of folders-->I select or specify the folder--> type the text for the note-->Alfred creates the note in the specified folder.

     

    Thanks again for all your help.

  8. Hi, sorry if this is a noob question.

     

    My caps lock key LED is busted. Is there a way i can trigger a notification when i press Caps lock. It would be great if this can be toggled so there is a notification when it is on and another notification when it goes off.

     

    Thank you in advance.

×
×
  • Create New...