The shell doesn’t escape spaces in output. It leaves them in all their glory:
ls -ldeO ~/'Dropbox/Public/Developers/SmallCubed Software'
drwxr-xr-x@ 4 chris staff - 136 Jan 6 18:34 /Users/me/Dropbox/Public/Developers/SmallCubed Software/
If a file is busy when you try to move it then it’s not surprising that something would fail.
(I’m not saying definitively that this is what is happening though.)
You may as well try AppleScript.
set sourceDir to alias "Mercury:Users:myUserName:test_directory:Source_Directory:"
set destinationDir to alias "Mercury:Users:myUserName:test_directory:Destination_Directory:"
tell application "Finder"
move sourceDir to destinationDir
end tell
But we don’t know if the OP is on Sierra or on a previous system.
@Tom@JMichaelTX Sorry, bad form on my part for not stating my OS. I experienced this on 10.11. I actually just upgraded to Sierra a couple of days ago for unrelated reasons. Right now I actually can’t reproduce the issue. Could be an OS thing or could fluctuate based on Dropbox activity.
Hey Jack, have you seen this comment on the 19.3.11beta build?
“move to DB” probably refers to the DB contextual menu, but who knows…
So it may be worth to try that version. (You can always go back to the latest stable version.)