Backup script no longer works in macOS Sierra

This line in a backup script used to synchronize the folder my documents with my Synology NAS:

rsync - avh - delete - progress ~/Library/"Mobile Documents" / com ~ apple ~ CloudDocs/Documents /Volumes

A ran in the Sierra, he deleted the contents of the folder/Volumes/Documents on the NAS. Nothing is copied.

The ~/Library/"Mobile Documents path" / com ~ apple ~ CloudDocs/Documents is valid in the terminal. I don't see what has changed.

Modify the script to this:

rsync - avh - delete - progress ~/Documents /Volumes

A did the trick. Do not know why. The old path seems valid in the terminal.

Tags: Mac OS & System Software

Similar Questions

  • Start Screen Saver hot corner no longer works under macOS Sierra 10.12

    I use Active corners to allow my screen saver lock my screen forever.  The hot corner "Start screen saver" no longer works after upgrade to Sierra 10.12.  'Put display to Sleep' hot corner doesn't work, as do other things like "Disable screensaver" and "Launchpad".  I tried reversing the triggers and active corners and can confirm that four corners work, but none of the corners can trigger action to launch the screensaver.

    try restarting. works fine for me.

  • SSH keys no longer work after macOS Sierra Update

    Hello, I have a problem to connect my servers with my previously stored private ssh key in file .ssh with terminal commands or third-party applications. I should mention that I activated the filevault during the upgrade process. I see that my passphases are stored in the keychain, but I need to enter my password every time I want to connect to servers.

    Hello Marshall,

    Try to create a new ssh key. I think Sierra includes updated logic crypto and he doesn't like really old keys.

  • Shift - command - down and shift - command - up do not work in macOS Sierra

    Shift - command - down: select the text between the insertion point and the end of the document.

    Shift - command - up: select the text between the insertion point and the beginning of the document.

    No longer work under macOS Sierra (both worked in Yosemite). :-(

    Someone has the same problem?

    In what program? Shortcuts work for me in TextEdit.

  • Final cut 7 works with macOS Sierra

    Hi guys,.

    Final cut 7 works with macOS Sierra.

    Thank you.

    Yes. Very well! But I can't work my plugin.

  • InDesign CS5 will work with MacOS Sierra?

    Has anyone tried to see if InDesign CS5 will work with MacOS Sierra? I have creative cloud and CS5 on my machine, but due to some of the things that I have to work that only work with CS5 to CS6 I have to keep my old software. I hesitate to upgrade to Sierra until I know if InDesign CS5 will work or not.

    If anyone has tested this, I would be recognizing the return flow, thank you.

    It really depends what you do with it, and a large part of the framework has changes in the operating system for how the application is designed to run in. Your workflow can cause problems when the application works for others or you might be able to use it, but keep in mind has more no support for CS5 Adobe or Apple, so do not expect to solve any problems that you can discover.

  • Script no longer works when I remove beep

    I am trying to create a script that will get the number of words in a Pages document, and then save in a Numbers spreadsheet. I am a novice coder and until about 6 hours ago, I got this script, I had never even heard of Applescript. But with trial and error, I came up with this script to display the number of words in my document:

    say application 'Finder '.

    activate

    Set myFile to alias "user: boldfish98:Desktop:Aviator alias.

    myFile Open

    beep

    say application 'Pages '.

              tell front document

    say text body

    the value myCount to count words

                   end say

              end say

              close front document

         end say

    end say

    myCount

    (I posted only myCount to make sure it works, ultimately, it will not display). This script was working fine so I started on the part that would put the number of words in the worksheet. I have made good progress on this front, I noticed a really annoying problem with the above code. When I was working on this part I put a bunch of beeps at different points that I would like to know when the code stopped working. I deleted most of them, once I knew that the code worked and I was ready to move on to the next part. But when I tried to delete one of the beeps (the only one left in the code that I put in this post), the script no longer works. I get this error in script, emphasizing "word count":

    Pages has been an error: failed to get document 1. Invalid index.

    It did not make sense to me so I checked over and over again to make sure that I had not deleted anything else, but it was just the beep. When I put the beep back in at exactly the same place the script developed, when I pulled it again I got the error. Even with my extremely limited experience I am sure that something is wrong and my coding script should not to beep to run. I looked through the internet to see if anyone else has had this problem and found nothing, so I started to browse all the posts here the applescript, and I saw someone ask if error a poster that's happened on the compiling or running. I know type of compilation of what means but I do not know how it is applied to the script editor. I guess this is what happens when I press on save and the light purple text gets formatted with 'say' in "BOLD", "application" in Blue italic and so on. I don't get the error, then, it happens when I run. Sometimes when I run the script with the beep I always get the message, so I think that there could be something wrong with the way I count the words (if you know it please report it), happened only 5% of the time that I run with beep. And it happens 100% of the time when beeping is not there.

    Here are the things I've tried (none of them worked):

    -copy and paste the code without the beep in a new document from the script editor

    -Retype the code without the beep in a new document from the script editor (I got the same error but when I added in the beep it worked)

    -restart script editor and pages

    -restarting my laptop

    -Commenting on the beep

    -replacement of tone with screen of dialogue ("Hello world!")     the dialog box display worked, but after I clicked OK in the dialog box the script stopped running, and I got the same error

    -remove the beep and but leaving empty line

    -remove the beep and the empty line

    -change slightly the other parts of the code as a substitute "document before closing" by "quit".

    a lot of these I didn't work, I was just desperate. I also didn't expect the success of my script a beep. I feel like script editor knows I'm brand new to this and so he's trying to trick me. Any help would be greatly appreciated. And if you know other ways I could improve this code, I'm all ears. Thank you!

    Also I just got this new laptop as a week ago, so I don't think that this problem is related to my software is obsolete.

    When I tried cela it is line 3 that caused the problem; It should read

    value alias myFile "alias Users:boldfish98:Desktop:Aviator.pages".

    As you, it did not work even with the beep; with this change, he worked with and without the beep. Other than that, "beep" takes back you to the inventor, but I don't see why that should be a problem.

  • HP Officejet Pro 6700 Premium: 12.34 FOR OFFICE JET 6700 DRIVERS does not WORK WITH MACOS SIERRA

    I guess that the file 12.34 driver does not work with MacOS Sierra, it is impossible to save a file when scan you a document. Instead of file name, you can see "prefix" and in all cases, it is impossible to save any version of the document, does not illuminate on the button "Save". Do you have a solution to risolve without using the Web server?

    Hello

    Follow these steps to solve this:

    http://support.HP.com/us-en/document/c05270318

    Kind regards

    Shlomi

  • APEX 5, interactive report remove 'Control Panel' script no longer works

    I'm trying to hide (remove) interactive report 'Control Panel' captured below so that users cannot change the report either.

    I found this thread here.

    https://community.oracle.com/thread/3686632

    Remove the interactive report 'Control Panel' script no longer works

    I tried #1 and #2. The two does not work in 5 APEX.

    By #3, I'm not sure that I put the code in the right place. But I loved not below, and it does not work.

    Can someone help me hide from opening the page control panel?

    1. in the footer

    < script type = "text/javascript" >

    $x_Hide ('apexir_CONTROL_PANEL');

    < /script >

    2 (page inline css section)

    Table #apexir_CONTROL_PANEL {display: none ;}}

    3 to implement a dynamic action on the page to hide the control panel at help:. this.affectedElements.find hide() (".to-IRR-controlsContainer"); the loading of the page.

    Kiran Pawar says:

    Hi JonDaegu-Oracle,

    JonDaegu-Oracle wrote:

    I open this IRR with this url a bit of a wiki page and I want to open this IRR without any user input and make it look like a page static as much as possible.

    .../f?p=200:21:0::no:CIR:IREQ_RELEASE,IREQ_PLATFORM:11.2.0.4,Linux:Yes

    And I tried your solution and it does not work yet. Am I missing something here?

    Set your static region ID like IR: customer_ir

    Ah. The ID attribute is dynamic. It was a busy day.

    It make much sense to do so if the IR has nothing to do with customers. Probably a better idea to use a more generic selector (assuming that there is of course no other IRs on the page):

    .a-IRR-controlsContainer {
      display: none;
    }
    
  • Scripts no longer works via the bridge

    For some reason scripts no longer works in Bridge CS4.

    I previously installed scripts "of Dr. Brown's services" which is available in the menu 'Tools' of the bridge. However, when I select some files, then choose this script for Photoshop to start, but nothing more happens.

    Is the same for the 'tools'-'Photoshop' menu (lot, processor Image etc.). Photoshop CS4 starts but nothing else happens.

    However, if I do the same thing in Photoshop itself ('file'-'Scripts') it works fine, so the scripts themselves are working, or so it seems.

    If for some reason suddenly fill other behaviors then before the first

    thing to try is a reboot for bridge by pressing the option key refresh the

    preferences. Give the Prefs to your wishes and try again.

    For some reason scripts no longer works in Bridge CS4.

  • Remote Desktop does not work since MacOS Sierra update

    Unable to connect with Remote Desktop or cord that worked before update

    Greetings geoffshop,

    Thank you for using communities of Apple Support. It seems you want to use under macOS Sierra remote desktop, but it does not work.
    I recommend you read this article, it has the settings you want to check to make sure that it is able to work.

    macOS Sierra: allow remote desktop to access your computer

    Take care.

  • 21:9 (2560 x 1080) ultra wide screen Macbook Air does not work after macOS Sierra

    I have a problem with my LG 29UM58.-p.

    After the installation of macOS Sierra Switchresx (4.5.3) isn't my custom resolution 2560 x 1080 more. I already tried to uninstall Switchresx and took new custom resolutions, but it did not help... First of all, it did not save my custom resolutions and then he said no "installed" or "active - invalid? Also, someone said if you made an additional account on your mac and then define custom resolutions, you can then use it in your normal macaccount, but he also didn't work...

    I tried (almost) everything... before the update of the software it was working fine.  Oh and also I use HDMI to mini displayport.

    Could someone help me out here?

    Thank you very much!

    Hey man, same here. That I'm going through exactly the same thing here. I have a MacBook Air from 2013 and just bought the exact same display. I'm on MacOS Sierra.

  • 4 finger swipe does not work under macOS Sierra!

    Hey all, I upgraded to macOS Sierra and noticed that one of my function used more regularly on Mac OS, 4 finger swipe to switch between desktop computers does not work! Mine is an April 2011 MacBook Pro.

    Earlier, 2 fingers sliding back in the files, similar to switching back and forward for the Web pages in Safari, has been abandoned without reason penetrable. I hope that's not the same fate for 4 finger swipe to switch between desktops.

    I probably use hundreds of times every day for switching between desktop computers because I have safari, MS Word and open the mail outside of iTunes on separate workstations. I hope that a fix is released soon!

    Apple, do not bite of useful outdoors features!

    Ravi Reddy

    4 finger swipe works for me and appears as the 2nd part of the Trackpad Control Panel.

  • IWeb works on macOS Sierra?

    IWeb work well on macOS Sierra? All the features work?

    iWeb is on the list:

    http://forums.MacRumors.com/threads/MacOS-Sierra-10-12-compatible-apps.1977335/

    There is no need to use Everweb.

  • What is Dreamweaver CS6 work under MacOS Sierra?

    For the people of Adobe, read this: 10 years ago, I bought Macromedia Studio which included Dreamweaver. After that, I upgraded to the CS6

    Now, I am in terms of photography.

    I love Dreamweaver and I use it a few times a month. I'm not a professional. In any case I use it enough to pay €24,-/ month for a subscription of the CC of Adobe.

    El Capitan CS6 Dreamweaver OSX works pretty well. Image-icons are missing in the file browser.

    But very soon MacOS Sierra is coming (in about 1 week?) And now, I've read there is a compatibility issue with Dreamweaver CS6.

    macOS Sierra 10.12: compatible Apps | MacRumors Forums

    I would like to know if there are users of DW CS6 who has already experienced this problem...

    Maybe it will be fixed with the final version of the Sierra. But maybe not. And it will mean the end of me to be able to use Dreamweaver. :-(

    I bought CS6 4 years. I think it is absurd that it becomes unusable so early.

    CS6 released in 2012 is now 8 versions behind the current CC 2015.3.  And it is not certified to run on the operating systems Windows 7 or OS x 10.7.  If it works on El Capitan, great!  You can continue to use it for another 3-4 years.  Just do not upgrade to Sierra until you're ready to raise a creative level Cloud.

    Nancy O.

Maybe you are looking for