How Can I Use Rclone to Sync Files Based on 'State Location by Map' Coordinates?

I’ve been using Rclone for a while to sync my files across various cloud storage services like Google Drive and Dropbox, but I recently came across a unique scenario. I often take road trips and save all my photos and videos to my cloud storage using Rclone. However, my files are getting a bit disorganized, especially when trying to remember where each set of files was taken.

I’ve heard about a tool that allows you to "State location by map" and thought this might be useful for organizing my files based on the locations where they were captured. I’m wondering if there’s a way to incorporate this with Rclone. For instance, if I’ve taken a series of photos during a trip in a particular state, like driving my Ford Mustang through Arizona, could I use this "state location by map" data to automatically sort or tag these files before syncing them to the cloud?

Here are some specific things I’m curious about:

  1. Metadata Handling: Is it possible to extract the "state location by map" data from the metadata of my files? If so, how can Rclone be configured to read this metadata and use it to organize the files into folders based on the state?
  2. Scripting with Rclone: I’ve seen that Rclone is very powerful when used with scripts. Could someone provide an example of a script that would take a set of files, read the "state location by map" data, and automatically create directories named after the states (like Arizona, California, etc.)? Once the directories are created, the script should move the files into the correct state-based directory before syncing.
  3. Automating the Process: Since I often transfer files on the go, I’d love to automate this process as much as possible. Is there a way to set up a cron job or a similar automated task that runs this "state location by map" sorting and Rclone syncing process every time I connect to Wi-Fi?
  4. Cross-Platform Compatibility: I switch between a Windows laptop and a Linux machine depending on where I am. Would the script and process you suggest work across both platforms, or would I need to make adjustments depending on the operating system?
  5. Car-specific Example: On my last road trip in the Ford Mustang, I traveled through several states, and I have hundreds of photos and videos stored on my laptop. If I wanted to use the "state location by map" data from these files to automatically create folders like "Arizona" and "Nevada" and then sync them to my Google Drive, how would that look in an Rclone workflow?

I’d appreciate any detailed guidance or examples that could help streamline this process. My goal is to make my file organization as seamless as possible, leveraging Rclone’s capabilities along with location-based data. Thanks in advance!

welcome to the forum,

i would separate the two goals.

  1. organize the files, using whatever script you write. i use python for cross-platform scripts.
  2. use rclone to copy|sync the files.