==== Microsoft OneDrive - on Linux ==== I just learned of a OneDrive Connector that exists for Linux, it makes me itch a little bit, but it is easy to set up and seems to work well. \\ //**I'd make a note to never put a file in here with personal information unless it's encrypted well.**// sudo dnf install -y onedrive mkdir -p /Scratch/${USER}/OneDrive chmod 0700 /Scratch/${USER} mkdir -p ~/.config/onedrive # The lines below causes data to be saved to the system drive, outside # of the mounted home folder that's shared and backed up separately. tee ~/.config/onedrive/config << EOT sync_dir = "/Scratch/${USER}/OneDrive" sync_dir_permissions = "755" sync_file_permissions = "644" EOT # But you can still get to it here ~/OneDrive ln -s /Scratch/${USER}/OneDrive ~/OneDrive onedrive # Application gives a url, copy it to a browser and authenticate when asked. # Accept the permissions request, then, copy the entire address in the URL # bar of the browser. # Paste the new URL at the 'Enter the response uri:' prompt and press enter. # Run the here doc below on any machine you want to sync with, it will run at login. tee -a ~/.bash_profile << EOT # If we're on the home machine, syncronize with OneDrive. if [ "\${HOSTNAME}" == "${HOSTNAME}" ] ; then onedrive --synchronize fi EOT # Log out and back in, and your files should synchronize.