Reinstall Dropbox, Remove Personal/Bus

 

 

A) Preparations

  1. Open applications with documents in Dropbox folders
    Like office apps like Word, Excel, … but also think about (e.g.) Terminal

    1. Make sure to SAVE
  2. For all open windows – application docs (1.) or Finder’s:
    1. Consider taking screenshots / make notes on which are open.
      1. So you can remember where to reopen once changed (e.g.) Dropbox (Personal) paths to Dropbox paths.

 

B) Dropbox Instructions for ‘Advanced Reinstall’

Step by step from How to run an advanced reinstall of Dropbox – help.dropbox.com/installs/advanced-reinstall:

  1. Quit Dropbox
  2. Uninstall Dropbox – remove app in Applications
  3. Restart computer
  4. In Terminal:Commands per Dropbox article:
    sudo chown "$USER" "$HOME"
    sudo chown -R "$USER" ~/Dropbox
    sudo chmod -R u+rw ~/Dropbox
    sudo mv ~/.dropbox ~/.Trash/dropbox.old
    sudo chmod -N ~
    sudo mv /Library/DropboxHelperTools ~/DropboxHelperTools.old

    Command WE use (e.g.)

    cd ~                                 # 1) move into home folder
    ls -a -l ~ | grep -i dro             # 2) to list all entries close to 'dropbox'
    mkdir DROPBOX-PREV                   # 3) create a folder for all things OLD/PREVIOUS
    mv <....> DROPBOX-PREV/              # 4) repeat: move all items found in 2) into 4)
  5. ‘Get the newest version of the Dropbox desktop app. Download now.
  6. ‘Navigate to the folder where you downloaded the installation file and double-click it.’
  7. ‘Apply any selective sync preferences you had before the reinstall.’
  8. ‘Select the Dropbox folder location, if not in the default location.’

‘After completing the reinstall, it may take some time for your files to sync.

Changes made to files in your Dropbox folder while it was offline—on dropbox.com or other connected devices—will result in conflicted copies. Learn more about conflicted copies.

Finally, this process only works when linking to the exact same account that was previously linked to this computer. If desired, you can instead learn how to merge accounts.

That’s the steps from Dropbox.com.

Next are own additional considerations.

C) Fix Own Shell / Terminal Functionality

In Terminal

macOS:~ user$ set | grep -i dropbox
F=/Users/user/.dropbox/comgt_init.sh
macOS:~ user$ open ~/.dropbox/
macOS:~ user$ 

In Finder

Copy ###d

  1. comgt_wrapper.sh
  2. comgt_init.sh
  3. comgt-dropbox-script-pkg.tar

In Terminal

Open a new terminal window (Command-N).

Shoot, yeah, python-issue ###

Last login: Sat Sep 10 07:48:01 on ttys013
-bash: python: command not found
-bash: python: command not found
The default interactive shell is now zsh.
To update your account to use zsh, please run `chsh -s /bin/zsh`.
For more details, please visit https://support.apple.com/kb/HT208050.
macOS:~ user$ 

FIX Python – Quick ‘n Dirty

macOS:~ user$ sudo ln -s /usr/local/bin/python3 /usr/local/bin/python

Open a new terminal, Command-N

Last login: Sat Sep 10 07:50:28 on ttys014
File “<string>”, line 1
import json;f=open(‘/Users/user/.dropbox/info.json’, ‘r’).read();data=json.loads(f);print data.get(‘personal’, {}).get(‘path’, ”)
^
SyntaxError: invalid syntax
File “<string>”, line 1
import json;f=open(‘/Users/user/.dropbox/info.json’, ‘r’).read();data=json.loads(f);print data.get(‘business’, {}).get(‘path’, ”)
^
SyntaxError: invalid syntax

The default interactive shell is now zsh.
To update your account to use zsh, please run `chsh -s /bin/zsh`.
For more details, please visit https://support.apple.com/kb/HT208050.

Ok, Have Set Environment Variables Despite Errors

macOS:~ user$ set | grep -i dropbo
DROPBOX=/Users/user/Dropbox
DROPBOX_PERSONAL=
DROPBOX_WORK=
F=/Users/user/.dropbox/comgt_init.sh
PATH=’/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Applications/VMware Fusion.app/Contents/Public:/opt/X11/bin:/Library/Apple/usr/bin:/Library/Frameworks/Mono.framework/Versions/Current/Commands:/Users/user/bin:/usr/local/bin:/Users/user/Dropbox/Office/bin’
macOS:~ user$

 

 

D) Email Archiving

Need change path where to save / open archived emails

  • /is/apps/macos/email/email-archive2fs/
  • E.g.
    • From: /Users/johan/Dropbox (Personal)/…../WIP! CV/Emails-2sort/
    •      To: /Users/johan/Dropbox/Documents/Emails/2sort/
    • (& not /Users/johan/Dropbox/Emails/2sort/   – as TYPED erroneously at one time)

 

E) Keyboard Mappings

  • Fav 5
    • from: /Users/johan/Dropbox (Personal)/<….>/WIP! CV/Emails-2sort/
    •      to: ~/Dropbox/Documents/Emails/2sort
    •  ###
    •      to: ~/Dropbox/Office/Apps/Email Archive2FSx-OpenFolder.workflow.app
    •      to: ~/Library/Services/Email Archive2FSx-OpenFolder.workflow