Switch mount - Check if mount is active

Basically I want to run a script that will

  1. Check if an upload/download rclone job is currently in progress
  2. If it isn't it will switch to another mount point (Google Team drive SA key swap)
  3. If it's in progress it will keep trying every second until it's not and switch

I can do the other steps with a linux script but I just need to figure out how to detect if a transfer is running or not.

I think you can check out:

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.