Advertisement
mentaluproar

rclone check does not work. why?

Dec 27th, 2018
164
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.21 KB | None | 0 0
  1. #!/bin/bash
  2.  
  3. if [ rclone check googledrivephotos:/ ~/photofetch/ --one-way | grep -c
  4. "0 differences found" ] = 1; then
  5.    echo "no changes found.  boring!"
  6. else
  7.    echo "something changed, lets do this!"
  8. fi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement