How do I uninstall odrive from my computer?
Windows :
- Exit odrive
- Uninstall odrive using the standard windows uninstall method (add/remove programs).
The default odrive folder will be renamed to odrive_backup_[current date and time]
as a backup.
MacOS:
Please follow the steps outlined below:
-
Exit odrive.
-
Open a terminal session (type “terminal” in Spotlight search):
-
Run the following command in the terminal session (copy & paste the entire thing into terminal and hit the Enter key):
cd "$HOME" && rm -r ".odrive" && killall Finder;mv "odrive" "odrive_$(date +%Y-%m-%d:%H:%M:%S)";cd "/Applications" && sudo rm -r "odrive.app";cd "/Library/Application Support" && if [ -d "odrive" ]; then sudo rm -r "odrive"; fi; cd "$HOME";
This will:
- delete ~/.odrive program folder
- restart Finder (to release the Finder extension)
- rename the default odrive folder in your home folder, if it exists, to odrive_[current date and time]. You will find this in the root of your home folder.
- delete /Applications/odrive.app
- delete /Library/Application Support/odrive (This is a legacy folder and may not exist on your system).
The command will ask for your password as part of cleanup. This is to ensure that proper permissions are available when removing the odrive folders from /Applications and /Library/Application Support as well as unregistering and removing the Finder extension
Agent (Linux, Windows, Mac):
Agent installations are pretty self-contained, so it is just a matter of removing or renaming the folders you made during install.
If you were installing using the usage guide instructions here: https://docs.odrive.com/docs/odrive-sync-agent , those folders will be:
[User Home Folder]/.odrive-agent
[User Home Folder]/odrive-agent-mount (this folder contains your synced/unsynced data, so it may be best to rename it until you are certain you want to delete it)
Linux instructions would be nice too. Is it really just deleting folders?
Hi @p_ingram3541,
For Agent, as you said, it is just a matter of removing the folders you made during install, if you were installing using the usage guide instructions here:
Those folders will be:
[User Home Folder]/.odrive-agent
[User Home Folder]/odrive-agent-mount
Thanks for the clarification Tony. I figured out my issue was installing partially as su which was resulting in never seeing any .cloudf folders to sync. Once I changed the location of the sync folder (under my daily driver user) everything is working.
2 posts were split to a new topic: What circumstances will cause odrive to delete files in the cloud?
Hello,
This worked for me. But it also created a folder with quotes in the same directory as Applications, Library, etc. And the path looks like this:
"/Users/[Username]
The timestamp when I ran the command matches with the folder creation.
Is this normal? Do I need this folder?
Thanks.
Hi @digiform,
Can you post a picture of what you are seeing?
What is inside of that folder?
The script doesn’t create any folders and renames only one (the odrive folder). It is not expected that a folder like you describe is created.
The script actually tries to be as precise and safe as possible, which is why the && are used, and there are no slashes, wildcards, or environment variables used within the remove or move actions.
I have tried this uninstall instruction multiple times on my Mac but it doesn’t work. I juts keep getting a “No such file or directory” Any suggestions???
Here is the info from terminal:
Names-MacBook-Pro-2:~ myname$ cd “$HOME” && rm -r “.odrive” && killall Finder;mv “odrive” “odrive_$(date +%Y-%m-%d:%H:%M:%S)”;cd “/Applications” && sudo rm -r “odrive.app”;cd “/Library/Application Support” && if [ -d “odrive” ]; then sudo rm -r “odrive”; fi; cd “$HOME”
mv: rename odrive to odrive_2018-12-15:09:16:56: No such file or directory
Password:
rm: odrive.app: No such file or directory
Hi @uunans,
If you have performed this multiple times then I would expect to see these errors, since the folders have already been moved or removed.
What are you seeing that is still existing/running?
Sorry, that wasn’t clear! I meant I have tried that multiple times and ODrive is still on my computer!
Hi @uunans,
The script basically removes or renames the three folders that are associated with odrive:
- ~/.odrive program folder is removed
- The default odrive folder at ~/odrive is renamed to
odrive_[current date and time]
. - /Applications/odrive.app folder is removed
Do you still see any of those folders? You can check by running these commands from the same terminal window you already have open:
ls ~/.odrive
ls ~/odrive
ls /Applications/odrive.app
The odrive Finder extension is in the ~/.odrive folder. Once that is deleted, Finder needs to be restarted for it to remove the extension from memory. The script should be doing all of these things, but it sounds like it may not be for your system, for some reason.
all good now . I found 2 stubborn odrive files when I used the ls ~/.odrive. Thank you for your help